Closed Bug 209268 Opened 22 years ago Closed 22 years ago

Floating V in title is given padding which scews the whole page when versus IE. HTML 4.01 strict, CSS2 valid

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 21616

People

(Reporter: vicomte, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030612 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030612 The V in the title is given padding which forces the base of the cell to be lower then that which is prescribed and desired. IE conforms to the designers wish's and the CSS has been validated as CSS2 and the HTML is HTML 4.01 strict compliant. Not sure if this is a bug or a quirk which can be ironed out, but mozilla 1.5a seems to reproduce the error, and don't ask me how it comes out in opera *shudder*. I will probably mention this in another bug but the table containing news posts is also set to be aligned to center via the style sheet (viewable via http://alphadimensions.net/~vic/css/style.css ). It seems to work in IE but not in mozilla. Is the alignment invalid ? no errors come up under validation as CSS. Reproducible: Always Steps to Reproduce: 1. View the site. Actual Results: Display is formatted incorrectly to the style wished. Expected Results: Hard to explain, format the floating text so that the first letter element floats to the left, its size set by the style sheet without padding.
Confirmed: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030609 Looks much better in IE6.
===== I will probably mention this in another bug but the table containing news posts is also set to be aligned to center via the style sheet (viewable via http://alphadimensions.net/~vic/css/style.css ). It seems to work in IE but not in mozilla. Is the alignment invalid ? no errors come up under validation as CSS. ===== This part is not a bug. Using text-align: center to align a table is not valid. IE just lets you get away with it. To center a table, use margin-left: 0, margin-right: 0.
Rather, margin-left: auto, margin-right: auto. Sorry.
This issue was reported in bug 23844, which was resolved as a dup of 21616. *** This bug has been marked as a duplicate of 21616 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.