> Both of the "conditional comment" fixes you provided will work. No
> question about that.
>
> I had hoped (and should have written) to find a solution that would
> /not/ require hacking IE7.0.
>
> Anyone? Or is this a pipe dream?
Well you didn't say so David :-)
We hack ie6 in the existing solution, so why not ie7? It's a hack
solution to a problem -- that seems to work. If you just use one
conditional ie hack I think it works for both, so you aren't upping the
hack index. I think a non-hack true pipe solution is a pipe dream -- so
that should spur someone to a solution -- saying it cannot be done. The
reason I suggest this is that ie7 won't work if you simply remove all ie
specific code. In many cases I find that ie7 can work properly without
any hacks (not always pixel perfect, but often close enough), but it
appears that ie7 won't recognize:
#navlist li:before { content: "| "; }
#navlist li:first-child:before { content: ""; }
Here's one that apparently works all three ways in ie6, ie7 and in ff
using just borders ...
http://www.sitepoint.com/examples/pipe-delimiter/index.htm
Note that he is hiding the first pipe by using a negative left margin
even though it actually exists. One could of course argue that this
isn't a pipe solution at all, it is a border solution or faux pipe perhaps?
Don
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/