Jeffrey Silverman wrote:
Quote:
On Tue, 28 Sep 2004 11:48:13 +1200, Nik Coughin wrote:
Hmmm, no, that's bad. The menu should always go over the top of
those, making them smaller is fixing the symptom, not the problem.
Will look into it. Cheers.
You could possibly mess with z-index property. Also a possibility is
the actual order that items (divs) appear in the HTML.
http://www.w3.org/TR/WD-positioning-970131#'z-index' |
That is so strange. According to the above document:
"By default, the z-ordering of elements in a document is back-to-front in
the order they appear in the HTML."
The menu appears after the goat pictures in the HTML and should therefore be
on top of it, yeah?
The only thing I could think of that may have been screwing things up was
that I was using margin-top: -126px; on the UL to pull it up over
#decoration. I changed it to position: relative; top: -126px; and now
Mozilla gets the z-index right. Only thing is, the text in #content now
wraps as though the UL were in its original position. Bah!
The original method was better in this regard. Do you think perhaps it's a
bug in Mozilla, given that according to w3 the UL should be on top anyway?
It is on top in both IE and Opera.
If it's a bug I'm tempted to leave it the way it currently is and report it
to Bugzilla. If it's because of something that I've done then I'll use the
position: relative thing.