Closed Bug 236082 Opened 16 years ago Closed 16 years ago
fixed width div in table cell is left aligned despite text-align:center
User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:) Gecko/20040229 The div layer in the right cell should be centered which it is in internet explorer but in mozilla it is left aligned. Reproducible: Always Steps to Reproduce: 1.Open testcase. Actual Results: The div in the right table cell is left aligned. Expected Results: It should have been centered This in not for me a major problem as this combination of nesting is unusual but its annoying to have to redesign something that I belive should work.
To use text-align to center a block is not valid. To center a block, apply margin-left : auto and margin-right : auto to the block. IE's behavior is a bug. ->Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.