HTML 代码:
<html lang="zh" xml:lang="zh" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="generator" content="Adobe GoLive" /> <title>未标题页面</title> <style type="text/css" media="screen"><!-- #body { width: 800px; margin-right: auto; margin-left: auto; } #0_0 { text-align: center; width:800px; height:auto ; margin: 0 auto 0; } #0_1 { width:600px; text-align:left; float:left; /*浮动居左*/ clear:left; /*不允许左侧存在浮动*/ overflow:hidden } #0_1_1 { width:300px; text-align:left; float:left; /*浮动居左*/ clear:left; /*不允许左侧存在浮动*/ overflow:hidden } #0_1_2 { width:300px; text-align:right; float:right; /*浮动居右*/ clear:right; /*不允许右侧存在浮动*/ overflow:hidden } #0_2 {width:200px; text-align:left; float:right; /*浮动居右*/ clear:right; /*不允许右侧存在浮动*/ overflow:hidden } --></style> </head> <body> <div id="body"> <div id="0_0"> <div id="0_1_1">1</div> <div id="0_1_2">2</div> </div> <div id="0_2">2 </div> </div> </body> </html>







请教一个层里面再套用两个平分的层,我写错哪里了?(有代码)










平板模式