> -----Original Message----- > From: css-d-boun...@lists.css-discuss.org [mailto:css-d- > boun...@lists.css-discuss.org] On Behalf Of Ian Young > Sent: 10 February 2009 12:27 > To: 'David Laakso' > Cc: 'CSS-D' > Subject: Re: [css-d] IE7 Images in unordered lists > > > -----Original Message----- > > From: David Laakso [mailto:da...@chelseacreekstudio.com] > > Sent: 10 February 2009 12:04 > > To: Ian Young > > Cc: 'CSS-D' > > Subject: Re: [css-d] IE7 Images in unordered lists > > > > Ian Young wrote: > > >> > > >>> IE7 has huge margins between the lists. > > >>> > > >>> What's the fix for this? > > >>> > > >>> > > >>> > > >>> Test page at > > >>> http://www.iyesolutions.co.uk/templates/db-test/IE7-menutest.html > > >>> with CSS > > >>> included. > > >>> > > >> The white-space between each <li> is taken up space. > > >> options: > > >> 1. remove the white-space : </li><li>xxx</li><li>xxx</li> > > >> or > > >> 2. li {float:left; clear:left} > > >> or ... > > >> > > >> > > >> > > > Neither option makes any difference. Or am I missing something? > > > > > > Ian > > > > > > > > > > > > > > > > > Philippe's suggestion [2] seems to work on this end... > > <http://www.chelseacreekstudio.com/ca/cssd/ian.htm> > Ok folks, it would appear it has to do with the IE8 beta that is on my system that is supposed to be emulating IE7 and clearly isn't.
Now the following changes seem to make it work - no idea why. Phillipe's changes plus following changes to David's conditional. <!--[if IE 8]> <style type="text/css"> li a {display:inline-block;} /*li a {display:block;}*/ .nav2 a {display:inline;} </style> <![endif]--> Defies logic. But presumably the changes to the li rule make it work in IE7 but need the addition of conditional for IE8. I apologise if I have sent you chaps up the wrong path and thanks for all your help. Ian ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/