Closed
Bug 65461
Opened 24 years ago
Closed 24 years ago
bgcolor height=div height and not visible height
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hojani, Assigned: clayton)
Details
Attachments
(1 file)
569 bytes,
text/html
|
Details |
<div id="div1" style="height:10;background-color:blue;"> 1.line<br> 2.line </div> When i set the height of a div element but nothing else (like overflow, clip, etc) the background color's height is only = with this value and not with the visible content height.
Comment 2•24 years ago
|
||
I believe that this is the correct CSS2 behavior. The background color is only applied to the content area of the div. asking Hixie to take a look at this, just in case.
QA Contact: petersen → ian
Summary: bgcolor height=div height and not visible height → bgcolor height=div height and not visible height
Comment 3•24 years ago
|
||
it's correct per CSS2
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•