Closed Bug 235071 Opened 20 years ago Closed 20 years ago

<col> tag doesn't apply either HTML 3.2 alignment or CSS styles to cells in that column

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 915

People

(Reporter: public, Assigned: bugzilla)

References

()

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

In the example page (see URL), I have tried to vertically align all the cells
using <col valign="top"> - Mac Mozilla 1.1, and Win32 Firefox 0.8 both
demonstrate this problem (so it seems to be quite an old issue). It might be
related to bug 4510 - though I don't believe that dealt with valign.

The page http://telcontar.net/Misc/plugins/ also shows that <col> won't apply
background colours to cells either, as well as not supporting valign - the whole
left column is meant to be green, but Moz/Firefox won't display the colour (this
 is possibly bug 4510).

I have tried to use CSS instead, using vertical-align instead of valign: I tried
applying style="vertical-align: top" to the <col> tags, as a workaround (in case
this issue is due to a lack of support for outdated HTML 3.2 properties) and
this did not work either - <col> seems to not apply any formatting to cells
whatsoever - neither CSS, nor HTML 3.2.

Microsoft IE 5.1.6 for the Macintosh also displays the valign issue (no support
for either form of vertical alignment in <col>), but iCab b180 (Mac browser)
handles valign correctly (not tried it with vertical-align, as its CSS support
is lacking).

I assume that there is some workaround using CSS styles applied to table cells,
but I cannot get any styles to apply to the middle table cells - alas, it's
beyond me at the moment. But in case I do, that's why I've preserved index-old.php

Reproducible: Always
Steps to Reproduce:
1. Open page in Mozilla or Firefox
Actual Results:  
The page doesn't look right. (lack of top vertical alignment, and lack of other
formatting, in the centre content table)

Expected Results:  
Made it look right. (all columns should be top vertically-aligned)

*** This bug has been marked as a duplicate of 915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.