下面是html代码:
nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
无标题文档
热门搜索:美少女热血搞笑机战战争耽美神魔冒险亲子|20122011更早|日本中国其他|0-3岁4-6岁7-12岁13-17岁18岁以上查看全部
以下是css代码:
.toping{
width:800px;
height:28px;
margin:0 auto 10px;
line-height:28px;
border:1px solid rgb(247,218,248);
}
dt{
float:left;
padding-left:10px;
}
dd{
float:left;
display:inline;
margin:0px 5px;
color:rgb(155,155,155);
}
为什么会结果会变成这样,如下,我用的是ie8,FireFox,搜狗,明明使用了float:left,好像没作用
回复讨论(解决方案)
改成
这都是比较简单、基础。
可以看结构是否合理,样式写的是否合理。
