Closed
Bug 292518
Opened 20 years ago
Closed 20 years ago
no body-background (white space instead) when sent as application/xhtml+xml and container margin specified
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: prem.de.ms, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2)
In the page at http://prem.de.ms/, you can see a white space above and under the
container. The body-background should actually be displayed. The container
margin is specified as "margin: 13px auto;" in the associated .css-file. This
bug only occurs if the page was sent as application/xhtml+xml. When it is sent
as text/html the page is displayed correctly.
Reproducible: Always
Actual Results:
white space is displayed
Expected Results:
background-image should be displayed
Comment 1•20 years ago
|
||
This is correct.
In HTML, the body element is magical--the background for body becomes the
background for the entire canvas.
In XHTML, the body element is not magical. The background only covers the actual
area of the body, and the body is only large enough to fit its contents.
You should specify backgrounds on the root element (i.e., the html element)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•