Forum Moderators: open
I have a table, with two flash elements in two different cells. I have set valign = "bottom" and made sure the margin and padding in CSS are set to 0px. There's no cellpadding or cellspacing either.
In IE6, the flash elements sit on the bottom of the cell.
In Firefox, they hover a few pixels above the bottom! How?! Why!?
Can anyone suggest a way around it?
See the page I'm developing at:
<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>
At the top, where the logo is, that's where the problem is!
Grateful for any help on this.
Cheers
[edited by: tedster at 5:21 pm (utc) on Feb. 8, 2006]
embed { margin: 0; display: block; }
td { padding-bottom: 0; }
To elaborate a little more on this: when an element is specified as inline it's content sits on the 'baseline'. This is an imaginary line along which the text follows, and the descenders of the text drop below. Any object specified as inline will sit on the baseline onless you use vertical-align in the CSS to specify otherwise, or you set it to display as block (at which point it no longer generates a line box and therefore a baseline) which is usually the easiest fix.