On Apr 13, 2008, at 10:35 AM, Andrew Gaffney wrote: > I'm working on some fixups for a site originally done by somebody > else. In IE, > the submenus were appearing off to the right, so I wrapped them in > another DIV > with position: relative and set 'left: 0; top: 40px' (40 being the > height of the > image that the submenu appears from) on the submenu. This works > great in IE. > > However, it's now acting weird in both FF2 and FF3. The submenu is > offset > vertically ~30px from the bottom of the image, and I can't figure > out what's > going on here. Thanks for any help. > > URL: http://www.ctstlouis.com/index.php > Stylesheet: http://www.ctstlouis.com/ctstlouis.css
And in Safari, and in Opera, you get the same as with Gecko. Why do you set the div.menucontainer to display:inline ? Setting it to display:block would solve your positioning problem in those browsers. The image doesn't affect the height of a (parent) inline element as you seem to expect. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d 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/
