Closed Bug 74462 Opened 24 years ago Closed 24 years ago

css body text-align attribute isn't honored

Categories

(Core :: Layout, defect)

defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 49274

People

(Reporter: mozilla, Assigned: karnaze)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.19 i686; en-US; 0.8.1) Gecko/20010326 BuildID: 2001032614 <style> body { text-align: center; } </style> doesn't center the page's body. Internet Explorer 5.5 centers body. Reproducible: Always Steps to Reproduce: 1.none workaround: enclose all content in a table with text-align: center
It centers all the inline children of body. It (correctly) does not center the block chilren. Try: body {text-align: center} body > * { padding-left: auto; padding-right: auto } instead. *** This bug has been marked as a duplicate of 49274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.