Previous Message
Next Message

Newbie: Why do images cross DIV borders?

Sent by Eric A. Meyer on 18 November 2004 20:08


At 13:38 +0000 11/18/04, Jeremy Garrard wrote:

>Why does the top div ignore the image when it is vertically sizing 
>itself? The image just runs over into the second div which is not 
>what I want. I want the top div to nicely contain the text AND image.

    See <http://www.complexspiral.com/publications/containing-floats/> 
for an explanation of why this happens, and ways to get around it. 
See also, as Chris suggested, 
<http://css-discuss.incutio.com/?page=ClearingSpace>.

-- 
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: