Posted by Michael on 01/19/07 16:18
>> Now I only need a trick to set the top margin to -(height of one
>> line) :)
> Uh, why?
Because I still get the white line, in both FF and IE
>> Actually I think I found a "fix" without the list-style: inside,
>> ul.sub { margin-top: expression("-2.5ex"); }
> Is that supposed to solve a problem or create a time bomb?
It's supposed to work around my problem. Which didn't really work because
even with this ugly hack IE7 renders it as IE6 did without it.
> You still haven't specified what you originally saw as the problem.
Well, check the image at http://www.xs4all.nl/~tba/test.html
The top image is what I want.
The bottom image is what IE does.
Notice the extra vertical space marked with a red bracket. I want to get rid
of it.
> If you set all margins and paddings for ul and li elements zero
.... then IE still has the ugly white line
I just want the sublist to start on the SAME line as the parent list and not
on the NEXT line.
Which I can do by using <UL> <UL> ... </UL> </UL> instead of <UL> <LI> <UL>
.... </UL> </LI> </UL> but -- according to the W3C validator -- that would
break the HTML 4.01 standard.
Kind regards
Michael.
[Back to original message]
|