Closed
Bug 195566
Opened 23 years ago
Closed 23 years ago
CSS - float:left - wrong display due to height
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: enigma, Unassigned)
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
I found a lot of similar bugs - but none reported the same wrong behaviour (i
think :-) )
Have a look at the attachments, and you will see that the height is not
displayed correct.
It should display the blocks among each other
Reproducible: Always
Steps to Reproduce:
Comment 4•23 years ago
|
||
mozilla is doing the correct thing here wrt. the w3c css reccommendations... to
get mozilla to render that page like you want it you need to define "clear" for
the element that you don't want to be cought up in your floats... in this case
change
div#contentBottom {
width: 600px;
height: 50px;
background-color: green;
}
to
div#contentBottom {
width: 600px;
height: 50px;
background-color: green;
clear:both;
}
-> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•