gpt4 book ai didi

css - 我的跨度不能留在 div 元素中

转载 作者:行者123 更新时间:2023-11-28 16:48:04 25 4
gpt4 key购买 nike

Firefox、safari 和 chrome 工作正常但 IE 不...这是我的 HTML

<div id="sc-footer">Total<span id="sc-total">$0</span></div>

CSS

#sc-footer{
font-size: 1.6em;
line-height:1.5em;
position:absolute;
bottom: 20px;
padding:9px 5px;
height:20px;
background: #dadada;
color: #545454;
}
#sc-total{
display:inline;
float:right;
}

最佳答案

或者在#sc-footer 上使用 overflow:auto。

关于css - 我的跨度不能留在 div 元素中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4060195/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com