Closed Bug 63040 Opened 25 years ago Closed 25 years ago

the effect of max-width

Categories

(Core :: Layout, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tapio.markula, Assigned: clayton)

References

Details

Attachments

(1 file)

Sorry, the width control works: I have this css: html {background-color:#603;border:none;margin:0;padding:0px;} body.mielipide {max-width:600px;margin: auto;margin-bottom:30px} The problem of Mozilla is that it renders the page totally white. Opera render the area, which is outside the max-width as #603 = at the background-color, which belongs to the HTML element. In my mind Opera does it right. Do you disagree? Opera understands the max-width as ABSOLUTE concerning the whole element, not only the width of the content area like Mozilla Gecko. In fact this matter is not exactly defined. Damned all different interpretaions! - Opera and Mozilla has different interpretation of 'viewport' - how to render borders to some form elements: http://www.nic.fi/~tapio1/Teaching/Taustat.html - how to handle are outside the max-width property.
The attached testcase worksforme with linux build 2000-12-05-08. The white area is 600px wide, and the rest of the page has background #603. Resolving worksforme. Reporter, feel free to reopen if you try a recent nightly build and still see the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
*** Bug 63030 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: