Closed
Bug 301116
Opened 19 years ago
Closed 19 years ago
giving colgroup and/or col elements properties like align or css text-align has no effect
Categories
(Core :: Layout: Tables, enhancement)
Tracking
()
People
(Reporter: bgrupe, Unassigned)
References
()
Details
Attachments
(1 file)
1.65 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050717 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050717 Firefox/1.0+ According to the HTML4 spec, <col align="right"> for example should align the text in the given col right. WFM in MSIE, Opera, doesn't work with Gecko browsers. Using CSS text-align doesn't work either. Reproducible: Always Steps to Reproduce: 1. Create a table with a col giving it align="center" OR: CSS text-align: center Actual Results: The column contents are aligned left (the default). Expected Results: The column contents are centered. This helps writing less code and more semantic code.
Reporter | ||
Comment 1•19 years ago
|
||
I modified the W3 sample table (see URL) and added CSS text-align to demonstrate that the CSS approach doesn't work either.
Reporter | ||
Updated•19 years ago
|
Component: HTML: Parser → Layout: Tables
Updated•19 years ago
|
Assignee: parser → nobody
QA Contact: mrbkap → layout.tables
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 915 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•