Results 1 to 5 of 5

Thread: 2-3px space below Flash object in Firefox...

  1. #1
    Join Date
    Feb 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question 2-3px space below Flash object in Firefox...

    It's fine in IE, but Firefox (and Netscape) show a small space at the bottom. I added style="border:1px solid red" to the object tag, and the extra space was within the border, at the very bottom.

    I tried adjusting margins and padding of the object tag, and even of the <td> it's in, but nothing worked.

    Anyone have any ideas? I wasn't sure if this had a CSS fix, so I just gambled and put the thread here. I appreciate any help you can give!

  2. #2
    Join Date
    Jan 2006
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i'd have to see an example i think

  3. #3
    Join Date
    Jul 2009
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Crimson View Post
    It's fine in IE, but Firefox (and Netscape) show a small space at the bottom. I added style="border:1px solid red" to the object tag, and the extra space was within the border, at the very bottom.

    I tried adjusting margins and padding of the object tag, and even of the <td> it's in, but nothing worked.

    Anyone have any ideas? I wasn't sure if this had a CSS fix, so I just gambled and put the thread here. I appreciate any help you can give!
    Late reply.

    If you set
    font-size: 0;
    line-height: 0;
    on the container element, the gap should disappear.

    -jonas

  4. #4
    Join Date
    May 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    was looking for this, and worked!
    Thanks

  5. #5
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Setting the object element to display:block will also resolve the issue.

    Further reading:-

    coothead

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
  •