好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

css盒子的浮动(一)_html/css_WEB-ITnose

使用下面的代码作为演示例子。

       无标题文档   body{ margin:15px; font-family:Arial; font-size:12px; } .father{ background-color:#ffff99; border:1px solid #111111; padding:5px; } .father div{ background-color:;margin:15px; padding:10px; } .father p{ border:1px dashed #111111; background-color::#ff90ba; } .son1{ /*这里设置son1的浮动方式*/border:1px dashed #111111; } .son2{ background-color:#6FF; border:1px solid #111111;} .son3{ background-color:#0F6; border:1px dashed #111111; }       

Box-1

查看更多关于css盒子的浮动(一)_html/css_WEB-ITnose的详细内容...

  阅读:32次