Closed Bug 278632 Opened 20 years ago Closed 20 years ago

float applied to list items messes up display of background and following content

Categories

(SeaMonkey :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ve3ll, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20050111

using float:left rule to place list items horizontally for
a menu bar. applying the rule loses the background color
of the nesting ul as well as the position of the content
following the ul. Also the width of the ul is that of the
container instead of based on the contained content !!! 

Reproducible: Always

Steps to Reproduce:
1. access the above URL
2. observe the without / with float displays
3.

Actual Results:  
lose of background , positioning, and sizing

Expected Results:  
display background
size the ul appropriately
position the following paragraph as normal paragraph.
The rendering is correct.  Please read the section of the CSS specification that
talks about block height calculations, and note that floats are not in-flow.
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.