Closed Bug 224048 Opened 22 years ago Closed 22 years ago

Height of Body is at standard not the height of the complete window

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: traumwandler, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.5) Gecko/20031007 The <body>'s size of an Document isn't (as thought) the complete window. It's like an Div the size of it's content. This causes the problem that onMouseOver are called to this part, and an border around the hole content can'T be used. Reproducible: Always Steps to Reproduce: 1. create a HTML File 2. Enter one line of Content 3. use css body { border: 1px solid; } Actual Results: a border with width 100% at height of content. (like ie displays) Expected Results: hole Contentwindow should get an border.
In IE, <body> is treated as the document root. In Mozilla, the root is (correctly) <html>, and <body> is just like any other block. If you care, you can set display:block on the <head> and <title> and see them as well -- they just happen to have display:none by default. So there is nothing special about <body> here.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
"me == stupid" ... i should think before i write some stuff ... whatever ... thanks!
You need to log in before you can comment on or make changes to this bug.