gpt4 book ai didi

html - 在 标签内设置文本宽度在 IE 和 Chrome 中有效,但在 Firefox 中无效

转载 作者:行者123 更新时间:2023-11-28 13:31:38 31 4
gpt4 key购买 nike

我想要 div 宽度中的文本“查看所有使用的杂项激光”,但文本仅在 Firefox 中出现在 div 之外。这个问题的原因是什么,如何解决?这是我的代码:

CSS

div.banner a {
color: #FFFFFF;
display: inline-block;
margin-left: -13px;
text-decoration: none;
width: 100%;
}

div.banner {
background: url("banner.jpg") no-repeat scroll center top transparent;
font-size: 15px;
font-weight: normal;
height: 38px;
margin-top: 20px;
padding: 18px 24px 50px 69px;
text-align: left;
text-transform: uppercase;
width: 106px;
}

HTML

<div class="banner">    
<a target="_blank" href="http://10.0.0.145/used/b">See All used-miscellaneous-lasers</a>
</div>

最佳答案

关于html - 在 <a> 标签内设置文本宽度在 IE 和 Chrome 中有效,但在 Firefox 中无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11433102/

31 4 0