Log in

View Full Version : Spacing issue in FireFox (Solved)



nate51
08-17-2010, 03:43 PM
I have a flash element and a div for a navigation right under it. Now in Internet Explorer and Chrome it displays fine. But in FireFox there is a small space of about 4 pixels under the flash elemnt so my navigation doesnt flush up against it.

There are no breaks or useless code between the flash and the div so I am not sure where this is coming from.

Has anyone had a problem like this?

jscheuer1
08-17-2010, 03:48 PM
The way you describe it, it sounds like style, probably padding or margin on one or more of the elements involved. Some elements, like the <p> have different default margins in different browsers.

If you want more help:

Please post a link to a page on your site that contains the problematic code so we can check it out.

nate51
08-17-2010, 04:44 PM
Oh! got the solution, by dropping

line-height: 0px;

In the CSS containing the two elemnts solved the problem perfectly!