看板 Web_Design 關於我們 聯絡資訊
語法如下 #header ul { margin:0; padding:10px 39px 0 0 ; float:right; width:490px; list-style:none; text-align:right; line-height:1.0 } #header li { display:inline; padding-left:1em; text-transform:uppercase; font-size:x-small; } #pagebody { clear:both; position:relative; width:777px; padding-top:12px; } 書上是寫說因為在首頁使用了float所以先將這個清除掉; '想請問的是clear的使用時間與clear:both是指什麼樣的意思呢 謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.210.5.68
gogogohuang:http://www.hsiu28.net/style/style_11.php 06/12 18:04
dlikeayu:float用多了 到時會要用到裏技來hack不正常現像 orz 06/13 16:11