Page 1 of 1
FireFox <td> height
Posted: Wed May 20, 2009 8:16 am
by icesolid
I am just wondering why in all other browsers (Chrome, Opera, Safari, IE8 ), using the code below will set a <td> height, but in FireFox it ignores it?
Code: Select all
<td style="height: 35px;">TABLE CELL</td>
Re: FireFox <td> height
Posted: Wed May 20, 2009 11:16 am
by gregor171
I'd say that this is problem of code viewer. Sometimes you don't see what you send. Change or try other page preview plugin.
else:
small letters are more common now w3c way:
http://www.w3.org/TR/xhtml1/.
<td> is now offten replaced with <div> element

Re: FireFox <td> height
Posted: Wed May 20, 2009 12:22 pm
by pickle
Try the "line-height" property.
Re: FireFox <td> height
Posted: Thu May 21, 2009 10:21 am
by icesolid
line-height: 35px worked
As always, thanks for the help.
P.S. Are all of these browser companies going to let their egos down one day and just all comply through one strict format that all follows the same? I hope so, what a waste of time standard/compliance has been over the years. I would just like to write the code and know it will work on all browsers.
Re: FireFox <td> height
Posted: Thu May 21, 2009 10:29 am
by pickle
I don't think it's ego so much (well, maybe it is in the case of IE), but rather laziness. The standard has been written - it's just a matter of the different companies not getting around to implementing the standard properly.