- You should try any other possible method to get the stacking order you wish before using Z-Index
- If Z-Index is the only way to go, every stacking element must have the CSS property 'position' set to 'absolute' or 'relative'
- The lower the Z-Index, the lower in the stack it goes (less visible).
Monday, June 29, 2009
CSS Z-Index
One CSS rule (as I have come to learn them to be called) that is a pain in the ass is the Z-Index. Why? Because it works the way you want it about 60% of the time every time. Besides the obvious movie reference (Anchorman for anyone not familiar), it's just a confusing rule. Basically, it allows the programmer to stack elements on the Z-Index, as the rule name so aptly describes. So here are some basic guides to Z-Index.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment