On Oct 5, 2009, at 8:01 PM, Andzia wrote: > I added a photo background to my header and I noticed a margin > between this > header and the top menu, which doesn't appear in Opera, IE or > Safari, only > in Firefox. I found that there is an issue with Firefox creating > margins and > I tried using border-collapse property to fix it, but with no > success. What > can I do? I think that Firefox can be creating more of these > margins, but > the website has mostly white background so they are not visible. > Here is the > url: > http://klikerlab.pl/
That image background is actually a Flash object... The 'margin' you see is actually the space for descenders, as an object (and embed) is an inline element, and rest on the base-line. One possible solution is to remove all unnecessary white-space inside the object. IIRC. Instead of > <object> > </object> write <object></object> The issue is tracked here: https://bugzilla.mozilla.org/show_bug.cgi?id=434174 it is not clear to me if this really is a bug. 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/
