Closed Bug 230762 Opened 21 years ago Closed 21 years ago

div displayed too far to the left if margin: 0px auto 0px auto with border

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 185411

People

(Reporter: alex, Unassigned)

Details

(Keywords: testcase, Whiteboard: DUPEME)

Attachments

(2 files)

On the testcase which I will attach, notice the two divs and how they react to resizing the page horizontally. The top one stays anchored to the left of the page in a visible position, while the bottom div stays absolutely centered in the page, to the point at which part of it becomes inaccessable via scrolling. Not sure if this is a bug or a little-known implementation detail of the CSS spec.
Attached file Testcase of the bug
Confirming and adding testcase flag.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
With Mozilla 1.5 final (WindowsXP) I see the same behaviour, be it a bug or just following standards. IE on the other hand stops both divs at the left hand side of the browser window.
This is a duplicate...
Whiteboard: DUPEME
Resizing is not required with this testcase. http://www.w3.org/TR/CSS21/visudet.html#q6 implies that the borderless behavior is correct.
*** This bug has been marked as a duplicate of 185411 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: