-
網頁設計特點(相對紙媒來說)查看全部
-
布局概念查看全部
-
要求右側(right)先加載,左側(left)后加載”是怎么實現的?? [最贊回答] echo_kinchao echo_kinchao: 結構的時候right在前就好 編寫的代碼要兼容ie6 不要使用float查看全部
-
margin:0 310 0 210; 0可以不寫單位,但是310必須寫單位PX! 單位單位單位 別忘別忘別忘 PXPXPX?。?!查看全部
-
clear:both; //清除兩邊元素的浮動對他的影響 overflow: hidden; // 用在浮動元素本身清除對父元素的影響查看全部
-
多列自適應布局可用浮動定位方法進行,多列固定布局需要使用絕對定位方法進行布局查看全部
-
3種標準流:絕對定位(position :absolute),浮動(float),標準文本流(從左到右,從上到下,像寫信,由塊級元素和行級元素組成)查看全部
-
兼容IE6不能用浮動,而且當子元素要設定為absolute的時候,父元素要設定relative才可以。 要右側自適應,則左側應該定寬并且position:absolute。 加載順序先右后左div的順序為先右后左查看全部
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>混合布局編程挑戰</title> <style type="text/css"> body{ margin:0; padding:0; font-size:30px; color:#fff} .top{height:100px;margin:0 auto;background:#ccc;} .main{width:800px; height:800px;margin:0 auto;position:relative;background:red;} .left{ width:190px; height:800px; background:blue; position:absolute; left:0;top:0;} .right{height:800px;background:#199C58;position:absolute;right:0; top:0;} .foot{height:100px;margin:0 auto;background:yellow;clear:both;} </style> </head> <body> <div class="top">top</div> <div class="main"> <div class="right">right</div> <div class="left">left</div> </div> <div class="foot">foot</div> </body> </html>查看全部
-
3列布局查看全部
-
position:absolute;left:0;top:0; margin:0 310px 0 210px; position:absolute;right:0;top:0;查看全部
-
position:absolute;left 0查看全部
-
1:網頁布局:又稱版式布局,是網頁UI設計師將有限的視覺元素進行有機的排列組合,將理性的思維個性的化的表現出來,是一種具有個人藝術特色的視覺傳達方式。傳達信息的同時有美感。 網頁設計特點(相對紙媒來說) 1、網頁可以自適應寬度 2、網頁的長度理論上可以無限延長 3:頁面為:頭部,主體部分,底部。 分欄又稱為分列:一列布局 二列布局 三列布局 以及混合布局(用的最多) 布局通過 浮動和定位來完成(實現ui界面效果)查看全部
-
.left{ width:200px; height:600px; background:#ccc; position:absolute; left:0; top:0} .main{ height:600px; width:630px; margin:0 auto; background:#9CF} .right{ height:600px; width:200px; position:absolute; right:0 ;top:0; background:#FCC;}查看全部
-
居中:margin:0 auto查看全部
舉報
0/150
提交
取消