-
任務 任務1:完成頂部(top)、底部(foot)寬度自適應 任務2:中間分為2兩欄,其中,左側(left)寬度為200px, 右側(right)寬度自適應 任務3:要求右側(right)先加載,左側(left)后加載 任務4:編寫的代碼要兼容ie6查看全部
-
學習完《混合布局》課程后查看全部
-
學習完《三列布局》查看全部
-
學習完《二列布局》查看全部
-
<!DOCTYPE html......> <html xmins="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv....../> <title>單列布局</title> <style type="text/css"> body{margin:o;padding:o} .top{height:300px;background-color:blue;} .main{width:800px;height:600px;margin:0 auto;} .bottom:{width:800px;height:300px;margin:0 auto;} </style> </head> <body> <div class="top"></div> <div class="main"></div> <div class="bottom"></div> </body> </html> margin:0 auto 垂直為0,水平居中查看全部
-
兩欄布局查看全部
-
完成。查看全部
-
代碼。查看全部
-
.top{ height:70px;background:#9CF;} .main{height:400px;background:red;position:relative;} .right{height:400px;background:green;margin-left:210px;} .left{width:200px;height:400px;background:blue;position:absolute;top:0;} .foot{height:50px;background:purple;}查看全部
-
關于absolute,和margin,float查看全部
-
float和絕對定位會讓元素脫離文檔流查看全部
-
先加載右側和兼容IE6要怎么寫啊 不太懂 只寫到這些效果出來查看全部
-
右邊自適應寬查看全部
-
感覺應該有更好的方法查看全部
-
float:left 是冒號是冒號是冒號!?。。。?!查看全部
舉報
0/150
提交
取消