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

Reply via email to