Closed Bug 229798 Opened 21 years ago Closed 21 years ago

The colgroup align attribute has no effect.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 915

People

(Reporter: welchkr, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

In the html snippet bellow (HTML4), the first column should be right justified
and the second left justified. In Firebird both columns are left justified.

<table border="1" cellspacing="0" cellpadding="0">
   <colgroup>
      <col width="250" align="right" nowrap>
      <col width="250" align="left" nowrap>
   </colgroup>
   <tr>
      <td>Bla bla</td>
      <td>Bla bla</td>
   </tr>
</table> 


Reproducible: Always

Steps to Reproduce:
1. Add a table to an html page
2. use colgroup to set the table attributes and make one col right justified 
3. open the html page in firebird
4. notice the right justified colum is still left justifed 

Actual Results:  
The align attribute had no effect when used in a colgroup tag. The align
attribute did work when used directly in the td tag

Expected Results:  
The table should apply the align attribute from the colgroup to the table cells
as it does with the width attribute. Anything attribute that one my wish to use
in a td ought to work in the col tag of a colgroup.

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