为什么这两个DIV不显示它内联?有什么事情发生和第二DIV其显示底部...内联块的两个div不工作
#mac{
display: inline-block;
background-color:#000000;
background-repeat: no-repeat;
padding-top:130px;
height:455px;
width:50%;
}
#mac2{
display: inline-block;
background-color:#000000;
background-repeat: no-repeat;
padding-top:130px;
height:455px;
width:50%;
}
<!doctype html>
<html>
<head></head>
<body>
<div id="mac"></div><div id="mac2"><img src="images/rocket.png"><span class="textomedio">Maximizamos tu ROI</span></div>
</body>
</html>
它对我来说是内联的... – 2014-09-19 14:27:35
你的代码发布与你的jsfiddler – gunr2171 2014-09-19 14:27:38
不同如果你运行脚本你可以看到没有它的内联 – Rom 2014-09-19 16:19:52