Previous Message
Next Message

Two pixel gap under flash in Firefox

Sent by Ricky Zhou on 1 September 2005 13:01


> Changing the font-size does not seem to do anything for me here.
> However, when I set the line-height it actually makes the <div> bar
> below disappear.
Sorry-- I may have been unclear about what to set those attributes on.  
If you set 
font-size: 0;
line-height: 0;
on the container div, the gap should disappear.  

Here's how my altered code looks:
<div id="flashintro" style="
background: red;
line-height: 0;
font-size: 0;
">
<object type="application/x-shockwave-flash" data="whoclicked-ad.swf"
width="800" height="180">
<param name="movie" value="whoclicked-ad.swf" />
</object>
</div>
<div style="
background-color: #006600;
height: 2px;
">
<img src="images/sp.gif" width="1" height="1" />
</div>

Hope this works,
Ricky
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: