DIV CSS 佈局教程網

您现在的位置: DIV+CSS佈局教程網 >> 網頁腳本 >  >> CSS入門知識 >> 關於CSS
CSS 屬性總覽:依瀏覽器版本標注的參考清單
編輯:關於CSS     

以下依分類整理常見的樣式表屬性,並標示其在 Internet Explorer 中的支援情況,方便查閱與相容性評估。

標記說明:標有 * 者可於 Internet Explorer 5 使用;標有 ** 者可於 IE 5.5 使用;標有 ++ 者可於 IE 6 使用。若某屬性已提交 W3C 但尚未正式成為標準,標為「已提交」;若既未提交也非標準,則標為「擴充」。這份清單反映的是那個年代的瀏覽器實況,其中 scrollbar-*、filter、zoom、layout-grid 等皆屬私有屬性,現行標準已有其他做法,選用時請留意。

行為屬性

behavior

字型與文字屬性

direction*、direction、font、font-family、font-size、font-style、font-variant、font-weight、ime-mode、layout-grid、layout-grid-char、layout-grid-line、layout-grid-mode、layout-grid-type、letter-spacing、line-break、line-height、min-height ++、ruby-align、ruby-overhang、ruby-position、text-align、text-autospace、text-decoration、text-indent、text-justify、text-kashida-space、text-overflow ++、text-transform、text-underline-position、unicode-bidi、vertical-align、white-space **、word-break、word-spacing ++、word-wrap、writing-mode

顏色與背景屬性

background、background-attachment、background-color、background-image、background-position、background-position-x、background-position-y、background-repeat、color

版面屬性

border、border-bottom、border-bottom-color、border-bottom-style、border-bottom-width、border-collapse*、border-color、border-left、border-left-color、border-left-style、border-left-width、border-right、border-right-color、border-right-style、border-right-width、border-style、border-top、border-top-color、border-top-style、border-top-width、border-width、clear、float、layout-flow、margin、margin-bottom、margin-left、margin-right、margin-top、padding、padding-bottom、padding-left、padding-right、padding-top、scrollbar-3dlight-color、scrollbar-arrow-color、scrollbar-base-color、scrollbar-darkshadow-color、scrollbar-face-color、scrollbar-highlight-color、scrollbar-shadow-color、scrollbar-track-color、table-layout*、zoom

分類屬性

display、list-style、list-style-image、list-style-position、list-style-type

定位屬性

bottom*、clip、height、left、overflow、overflow-x、overflow-y、position、right*、top、visibility、width、z-index

列印屬性

page **、page-break-after、page-break-before

濾鏡屬性

filter

偽類與其他

:active、@charset、cursor、:first-letter **、:first-line **、@font-face、:hover、@import、!important、:link、@media*、@page **、:visited

其中 :active、:hover、:link、:visited 四個偽類是連結樣式的核心,撰寫順序建議維持 LVHA,否則狀態覆蓋的結果可能不如預期。

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved