這個課程總體感覺就是“亂”。我覺得每個網頁產品都有自己的padding,margin的統一規格,但每次老師改動邊距感覺就是很隨意,多了就改小點,少了就改多點。
2016-03-15
.ad{
height:310px;
overflow:hidden;
clear:both;
}
我的不清理浮動圖片顯示有問題,li寬度剩下10px
height:310px;
overflow:hidden;
clear:both;
}
我的不清理浮動圖片顯示有問題,li寬度剩下10px
2016-03-10
ul{list-style-type:none;}
ul li{float:left;width:50px;height:30px;}
ul a{line-height:30px;text-align:center;display:block;}
ul a:link,ul a:visited{text-decoration:none;color:black; }
ul a:hover,ul a:active{text-decoration:none;olor:white;background-color:#BE3948; }
ul li{float:left;width:50px;height:30px;}
ul a{line-height:30px;text-align:center;display:block;}
ul a:link,ul a:visited{text-decoration:none;color:black; }
ul a:hover,ul a:active{text-decoration:none;olor:white;background-color:#BE3948; }