内联块在InternetExplorer 7,6中不起作用我有这个CSS代码inline-block..有人能告诉我如何在InternetExplorer 6和7中工作吗?有什么想法吗?也许我做错了什么?谢谢!#signup {
color:#FFF;
border-bottom:solid 1px #444;
text-transform:uppercase;
text-align:center;}#signup #left {
display: inline-block}#signup #right {
background-image:url(images/signup.jpg);
border-left: solid 1px #000;
border-right: solid 1px #000;
display: inline-block;
padding:1% 2%
width:16%;}#signup #right a { font-size:100%; font-weight:bold } #signup #right p { font-size:90%; font-weight:bold }
#signup a:hover { color:#FFF; text-decoration:underline }
3 回答
PIPIONE
TA贡献1829条经验 获得超9个赞
display: inline-block
span
div
#yourElement { display: inline-block; *display: inline; zoom: 1;}
*display: inline
zoom: 1
display: inline-block
display: inline-block
-moz-inline-stack
添加回答
举报
0/150
提交
取消