Accessibility

CSS Advisor

First line after header doesn't properly wrap around second float

by CSSAdvisorAdmin on February 23, 2007
Edited by: pChirita on November 28, 2009
Avg Rating 2.9 (13)   |   Log in to rate post.

Tagged with Firefox 1.0 , Text , Float

Problem

If the second (and any subsequent) floated element follows a header (<h1>, <h2>, etc.), the first line of text following the float will overlap the floated element.

Solution

No known solution, but can be resolved by resizing the browser window.

Detailed description

If a floated box element comes directly after a heading (<H1>, <H2>, <H3>, etc.), the first line of text after the floated element will overlap the floated element in Firefox 1.0 (fixed in Firefox 1.5) and Mozilla 1.6. However, resizing the window will resolve this rendering issue. If the page is reloaded, it often will re-instantiate the bug.

Note that the first floated instance in the page will not trigger this bug, but the second (and subsequent) floats in the page will.

This issue was originally reported at Quirksmode (Original article).




Tagged with Firefox 1.0 , Text , Float

Tag it on del.icio.us or Digg

Text ID: FLOATS_AND_HEADERS



Comments (0)

To add a comment, please Log in.








CSS Advisor home
Submit a post

rss

CSS ADVISOR RSS FEEDS
Recent: POSTS | COMMENTS | EDITS


Browsers
Internet Explorer (45)
Mozilla/Firefox (16)
Opera (7)
Safari (13)
CSS Properties
Background (6)
Border (3)
Color (1)
Float (15)
Font (1)
Margin (6)
Padding (4)
Position (15)
Text (13)
Width/Height (9)