Sent by Big John on 29 October 2003 17:05
François Briatte wrote:
> My problem is over here: http://www.bdarts.org/festival.php
> Try it with MSIE Windows 6.0, and the text wraps weirdly !
> More precisely, the #content text displays, but after the pictures. The
> images won't float beside it.
I'm guessing the real problem is a doubled margin on the float,
causing it to take too much horizontal space and forcing the
content block to drop below the float.
ul#sidebar is floated right and has a right margin. When such a
float margin is trapped between the float and the inside edge of
the float container box, IE/win always doubles it.
There is no "fix" for this, so you must hack in a smaller margin
value for IE/win only.
Try this after the main #sidebar css rules:
* html #sidebar {margin-right: half normal value;}
*>html #sidebar {margin-right: normal value;}
The first is seen by all IE browsers, and the second is seen
only by IE5/mac, which doesn't need the halved margin value.
HTH
Big John
=====
Perennial student + Impractical joker + CSS junkie = Big John
<http://www.positioniseverything.net>
A Master of Rocks, a Pedalin' Fool and a Topophiliac to boot!
<http://kingmanaz.net/~bigjohn/>
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/