Unfortunately I have to use absolute positioning due to the document order, and would rather not use javascript because the problem is only in one style sheet, of which I would like to use a few different ones. I have no idea how my page (www.bryanray.org.uk) will work in less capable browsers though. Thanks for the feedback.
Bryan
Neil Marshall wrote:
Bryan Ray wrote:
I have been trying to make a CSS menu, that drops down when the mouse moves over the visible part of the menu. Ideally I would like the menu not to be fixed width.
The problem is that the children of "StyleSheetSwitcherMenu", which are block elements don't fill the whole of the parent boxes width - which is what is suppost to happen by my understanding of "block" elements.
The correct behaviour (my understanding of) occurs when the mouse moves over the menu. I have had a quick skim at the standards and bugzilla and could not find anything to explain the behaviour.
If anyone could correct me, or explain what is going on so I can fix it, that would be great.
The problem is the position: absolute; command. As soon as you take it out, it stretches to fill all the available space.
You might also be interested in looking at this. I'm in the process of writing a CSS pulldown menu that also works in the less capable browsers out there. It doesn't stretch though.
http://www.eightlines.com/neil/temp/menu/cssmenu.html
_______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
