CSS论坛's Archiver

惺惺相惜 发表于 2014-8-16 16:44

IE6下与其他浏览器显示不一致,请问如何解决?

[code]<!DOCTYPE html>
<head>
<title>TEST</title>
<style>

div{
border:1px solid black;
width:100px;
height:100px;
float:left;}
.left{background:gray;}
.right{background:white;}
.clear{clear:both;}

</style>


</head>
<body>
<div class="left">L1</div>
<div class="left">L2</div>
<div class="left">L3</div>
<div class="right clear">R1</div>
<div class="right">R2</div>
<div class="right">R3</div>
</body>
</html>[/code]

[attach]482[/attach]

[[i] 本帖最后由 惺惺相惜 于 2014-8-16 16:47 编辑 [/i]]

divcss5 发表于 2014-8-17 00:12

结构有问题,还有一般需要初始化 http://www.divcss5.com/template/m17.shtml

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.