On 1/3/06, Michiel van der Blonk <[EMAIL PROTECTED]> wrote:
> francky wrote:
>
> >This is the result:
> >http://home.tiscali.nl/developerscorner/css-discuss/liquidfish3.htm. FF
> >and IE seem to do what I wanted. :-)
> >
> >
> IE still shows the <li> with an extra break. This comes from the fact
> that there are spaces or newlines between </li> and the next <li>. If
> you remove them both browsers display the menu equally. Yes, I tested it.
> You can use the trick I learnt from (I think) this list:
> </li
>  ><li>
> to preserve your line breaks in the source.
>
> Michiel

That is rather ugly though. Another option is to set the height for IE
only to 1em:

li{height:1em;}
html>body li {height:auto;min-height:1em;}

The second selector is only applied in more modern browsers.

--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
______________________________________________________________________
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/

Reply via email to