.expand .close-btn問題
.expand?.close-btn{?????width:120px; ????????????????????height:20px; background:url(images/broswer_home.png)?no-repeat?-13px?-117px; position:absolute; left:50%; bottom:-2px; margin-left:-60px; cursor:pointer;}
有點不明白這個里面bottom:-2px;margin-left:-60px;的值是如何確定的?。克鼈冊谡麄€樣式中又有什么作用呢?
2015-03-21
這個沒有什么難的,這里出現了絕對定位(position:absolute;),那它就一定有相對定位(position:relative)。CSS position屬性和實例應用,這個東西一定得學習好,很有用。非常有用。