Fixed or float?
Sent by Philippe Wittenbergh on 17 July 2009 02:02
On Jul 17, 2009, at 5:35 AM, Bobby Jack wrote:
> Not if there's a relatively-positioned element on the page, in my
> Is this a bug or expected behaviour?
That is the expected behaviour. CSS2.1:Appendix E has all the details.
In short, the DIV without z-index (z-index:auto per definition) and
the UL are both at the same stacking level (both are positioned, both
have z-index:auto). Because the UL comes later in the source, it is
painted/layered on top.
Note that IE 6 & 7 do all kind of crazy things with stacking levels.
If you use those browsers to test your page, results may not be
consistent with the spec (cough, cough, how's that for a polite
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
- Fixed or float? - Bobby Jack, 16th July 2009 21:36
- Fixed or float? - Philippe Wittenbergh, 17th July 2009 02:20
- Fixed or float? - Alan Gresley, 17th July 2009 09:41