Log in

View Full Version : Quickest way around Firefox TD height bug?



jlizarraga
02-09-2009, 10:15 PM
Hi all,

I'm being bitten by this bug, where Firefox (at least 2) doesn't apply top and bottom padding to the fixed height of a table cell:

http://updatepanel.net/2009/01/16/table-cell-box-model-quirk-in-firefox/

The line-height fix works, but now I can't use "vertical-align: top;" to have the text be at the top of the cell.

I can think of fixes for this that would require extra markup, but I'm hoping one of you guys knows an alternative. It's just a simple cell with only text, damnit. :\

Thanks!