Phil Wilson wrote:
> http://philwilson.org/code/tests/horizontallist.html
> Can someone tell me either where my code is wrong, or which IE bug
> I'm suffering from? I'm sure I've done this before, so there must be
> a workaround.
IE/win rounding-error. 4 times 25% is "sometimes" slightly more than
100% the way IE/win do its calculations.
Cure: add a class 'last' to the last li, and add style:
* html li.last {margin-right: -1%;}
That'll make space for all list-items in IE/win - without change in
appearance on screen.
Either that or you'll have to make all li slightly less than 25% for
IE/win - which will of course be visible.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/