asp.net.ph

Skip Navigation Links

CSS Positioning Attributes

Abakada ~ Back to Basics   CSS Attributes


Property Valid Values Sample Usage
clip auto | length { clip: rect(0 150 150 0) }
height length | percentage | auto { height: 200px }
left length | percentage | auto { left: 0px }
overflow visible | hidden | scroll | auto { overflow: scroll; }
overflow-x visible | hidden | scroll | auto { overflow-x: scroll; }
overflow-y visible | hidden | scroll | auto { overflow-y: scroll; }
position absolute| relative | static { position: absolute }
top length | percentage | auto { top: 0px }
visibility visible | hidden | inherit { visibility: visible }
width length | percentage | auto { width: 80% }
z-index auto | integer { z-index: -1 }

See Also

Using StyleSheets   W3C Cascading Style Sheet Specification   W3C HTML 4.01 Specification



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note