<table> <col>-tag valign-attribute rendering error
Hi!
I guess this must be a bug in Firefox 11.0(?):
I have a webpage containing tables inside a table. The inner tables have the following tags:
The page is here: www.transformation.dk/indextest.html The first column contains a short word (1 line). The second column contains text that can run over several lines. In MS-IE 9.0 the above tags result in the short word of the first column being horisontally aligned with the first line of the text in the second column. But in Firefox 11.0, the word in the first column is much further down. Has anyone experienced this? Should I file it as a bug here: https://bugzilla.mozilla.org/ Best regards, Hero27Isisombululo esikhethiwe
The Mozilla Developer Network site discourages use of <col> for applying valign to individual cells: col - MDN.
Without delving too deeply into your content, wouldn't it be simplest to set a global top alignment in CSS?
Funda le mpendulo ngokuhambisana nalesi sihloko 👍 0
td, th {vertical-align:top;}
All Replies (4)
Isisombululo Esikhethiwe
The Mozilla Developer Network site discourages use of <col> for applying valign to individual cells: col - MDN.
Without delving too deeply into your content, wouldn't it be simplest to set a global top alignment in CSS?
td, th {vertical-align:top;}
Well... that DID solve it, but I think it is somewhat shocking that this bug - https://bugzilla.mozilla.org/show_bug.cgi?id=915 - has existed since 1998! It has 78 known duplicates... Wouldn't it have been easier to solve it than to manage all these duplicate bug files....! :-)
Wouldn't it have been easier to solve it than to manage all these duplicate bug files....!
I have the feeling that developers volunteer for different projects, and there just isn't much interest in implementing deprecated tags and attributes.
Well... When I look at www.w3schools.com/tags/tag_col.asp there is nothing indicating that the col-tag or the valign-attribute is deprecated or was deprecated in 1998. And it works in MS-IE9... ;-) although many other things didn't work in earlier IE-versions! But I got it to work, with your help, so thank you for that.