Ingo Chao wrote: > John Haas wrote: >> http://www.lullabot.com/node/18 >> >> The problem in question is the secondary subnavigation layout. In IE, >> the background image only extends so far in IE, whereas in >> Firefox/everything else looks fine. See how, when correct, the <li>'s >> are wide enough that they'll go past the left edge of the browser? Not >> happening in IE ... > >> .second #secondary-nav { >> position: absolute; ... >> } > ... >> .second #secondary-nav a.active { >> background-image: url('images/sl-whitebar.gif'); >> background-position: center right; >> background-repeat: no-repeat; >> margin: 0 0 0 -800px; >> } > > > Didn't try it locally. > > <!--[if lt IE 7]><style> > > .second #secondary-nav a.active { > position: relative; /* escape from a.p. ancestor with neg. margin */ > height: 1px; /* stabilizes the background */ > } > > </style><![endif]--> > > Don't know if or what part of the bug is fixed in IE7. > > Ingo >
If it did not fix your problem, I'd appreciate a reply that it didn't work, John. Ingo -- http://www.satzansatz.de/css.html ______________________________________________________________________ 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/
