Closed Bug 119411 Opened 23 years ago Closed 23 years ago

element centering working incorrectly in standards mode, tables do not center

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 49274

People

(Reporter: dbrown, Assigned: asa)

References

()

Details

When placing a table on a page (i'm using strict.dtd) you cannot center the
table in the body of the page without using deprecated methods.

Wrapping the table in <div style="text-align: center;"></div> does NOT center
the table, nor does using css: body { text-align: center; }

However, using the deprecated <center> tag or the <table align="center"> DOES
work, all though it shouldn't when using the strict.dtd.

testcase:
http://test.invisiband.net/ver2/table_test.html
Mainly a dupe of bug 49274, use {margin-left: auto; margin-right: auto} to 
center a table horizontally.

See also the comments on bug 69479 as to the height of the table.
Yep it's a dupe alright.

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