PDA

View Full Version : 2-3px space below Flash object in Firefox...



Crimson
02-21-2006, 07:16 PM
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!

Agrajag
02-24-2006, 11:33 AM
i'd have to see an example i think

drluv888
09-28-2009, 10:45 AM
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

mmf
05-11-2010, 11:53 AM
was looking for this, and worked!
Thanks

coothead
05-11-2010, 02:40 PM
Setting the object element to display:block will also resolve the issue. ;)

Further reading:-
Eric A. Meyer article (http://devedge-temp.mozilla.org/viewsource/2002/img-table/)
coothead