Ok, the fix for getting the background image on the LI element was to add
float:left, and then clear:left so that my list still displayed vertically.
The end result was:
*:first-child+html #nav-main li {display:inline; margin-bottom:0.05em;
float:left; clear:left;} /*fix for IE7*/
Very strange, but it works ;-)
On Jan 29, 2008 2:33 PM, Erik Domingo <[EMAIL PROTECTED]> wrote:
> Thanks for the tips, David. Adding the display:inline to the #nav-main li
> element did the trick of removing the extra bottom margin. Unfortunately,
> I'm still working on getting the background image for the element to display
> properly, but hopefully I can work that out myself.
>
> Thanks also for all the other responses - always nice to get some advice
> from fellow CSSers :)
>
> On Jan 25, 2008 3:25 PM, David Laakso <[EMAIL PROTECTED]>
> wrote:
>
> > David Laakso wrote:
> > > Erik Domingo wrote:
> > >
> > >> Validated the markup - except for an issue with a bit of javascript
> > in the
> > >> footer, the page is valid Strict XHTML. I also tried removing all the
> > >> whitespace between <LI> tags, but the extra vertical space is still
> > showing
> > >> in IE6 & 7.
> > >>
> > >> Erik
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> > Should read:
> >
> > In reference toyour uri: <http://bdsredesign.bluelangroup.net/index.php>
> >
> > Good.
> >
> > The fix for the "evil ones" on a local file in XP/IE6.0 and IE7.0 on Mac
> > OS X 10.4.11 is:
> >
> > #nav-main li {
> > height : 17px; <-------- :: delete ::
> > margin : 0 0 3.5px 0; <-------- :: delete ::
> > margin: 0 0 0.5em 0; <-------- :: add ::
> > }
> >
> > And add these selectors to target IE 6 & 7 (and tweak as necessary):
> >
> > * html #nav-main li {
> > dislpay: inline;
> > margin-bottom: 0;
> > } /*fix for IE6*/
> >
> > *:first-child+html #nav-main li {
> > dislpay: inline;
> > margin-bottom: 0;
> > } /*fix for IE7*/
> >
> > HTH.
> > Best,
> >
> > ~dL:
> >
> >
> >
> > --
> > http://chelseacreekstudio.com/
> >
> >
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/