Previous Message
Next Message

Re: [css-d] Netscape inline style

Sent by Bob Osola on 30 September 2002 12:12


> Am I correct that floated divs NEED widths? What are the
 > repurcussions of not having it. I had the same issue with
 > a floated img - and I took the width out and everything
 > still looked fine in IE5/6 and NN6.  What if I do that
 > for the DIV?

Opera 6 (on PC, at least) needs explicit widths to be set for floated 
adjacent images which you require to wrap automatically. If the width is 
not set, the images don't wrap, resulting in a monster horizontal scroll. I 
solved this for the common modern browsers by using PHP functions to find 
and set each image width inline from my PHP template. Luckily, I could 
afford to ignore NN4, which appeared to break on whatever I tried in this 
regard :-(

Regds,
Bob Osola
Previous Message
Next Message

Possibly related: