Closed Bug 286428 Opened 20 years ago Closed 20 years ago

text-align style does not align a table inside a cell

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sdelfranco, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

CSS2 says:
"17.5.4 Horizontal alignment in a column
The horizontal alignment of a cell's content within a cell box is specified with
the 'text-align' property."

This does not occur when content is a table.
Works ok when content are paragraphs or rulers.

Reproducible: Always

Steps to Reproduce:
See attachment.
Actual Results:  
Table inside cell is not aligned.

Expected Results:  
Table inside cell should be aligned.
It's not supposed to.  Use 'auto' horizontal margins instead.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
(In reply to comment #2)
> It's not supposed to.  Use 'auto' horizontal margins instead.

What a dumb of me! I must understand that the word "text" means literally text,
and no boxes.
Maybe i was confused by IE rendering... i can't understand how i still believe it.

Anyway, thanks for your quick answer, David.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: