I have a floated object on the right and a div on the left. The div has a colored background and in IE, the background stops where the floated object is, but in Mozilla, the background goes behind the floated object too (not the text, but the background and borders). I don't want this behavior. Any tips for stopping it short of using tables or setting a fixed width?
2007-03-07
03:48:36
·
2 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
No luck so far. The text wraps correctly stopping just to the left of the floated object, but a background or border goes all the way behind the floated element. I suppose I'll have to hack it and use tables instead.
2007-03-07
23:11:32 ·
update #1
If I add a width value, the text won't flow around the object correctly. There must be another answer.
2007-03-08
22:47:49 ·
update #2