Results 1 to 3 of 3

Thread: Spacing issue in FireFox (Solved)

  1. #1
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default Spacing issue in FireFox (Solved)

    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?
    Last edited by nate51; 08-17-2010 at 04:45 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2007
    Location
    Mississauga
    Posts
    166
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Default

    Oh! got the solution, by dropping
    Code:
    line-height: 0px;
    In the CSS containing the two elemnts solved the problem perfectly!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •