HighDots Forums  

Re: IE6 overflow problem

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: IE6 overflow problem in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris F.A. Johnson
 
Posts: n/a

Default Re: IE6 overflow problem - 03-31-2009 , 01:25 PM






On 2009-03-31, darius wrote:
Quote:
hello

I have this structure

p
<img /
some text here
/p

p is styled with a background and border and overflow: auto. img is
styled with float:left

on the civilized browsers, this works as I hope. p wraps around
either img or text, whichever is greater in height. In IE6,
however, p only wraps around the text. If the text is shorter than
the img, the img is left hanging outside of p.

I also tried with a div but it made no difference.
Put the image outside the <p>. (And don't bother with XHTML, IE
doesn't understand it and treats it as HTML.)

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.