CSS Positioning

由於本文件沒有此語言的翻譯版本,您閱讀的是英文版的內容。 幫助我們翻譯這篇文章!

CSS Positioning is a module of CSS that defines how to absolutely and relavitely position elements on the page.

參考

CSS 屬性

指南

Understanding CSS z-index
Presents the notion of stacking context and explain how z-ordering works, with several examples.

規範

Specification Status Comment
CSS Positioned Layout Module Level 3 Working Draft  
CSS Level 2 (Revision 1) Recommendation  

瀏覽器相容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 1.0 (1.7 or earlier) 5.0 6.0 1.0 (85)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 1.0 1.0 (1) (Yes) (Yes) (Yes)