On Jul 18, 2011, at 1:16 PM, Al Sparber wrote: >>> I make the list items inline, and put inline-block on the links. No IE >>> hack needed, and IE 7- behave similarly to other browsers (including >>> the word-spacing between links). >>> >>> FWIW. :) >> >> Hi David, >> >> Most appreciated, but I test in a native version of IE7 and it most >> certainly does not handle inline-block. Of course, I could be wrong, but >> it's also one of those CSS issues that's been embedded in my brain - >> which has been known to have a bad day :-) > > ... like today :-) Of course your method works in IE7 without hack, though > I'd have to check to see how older versions do. > > Sorry for confusing your statement.
IE 7 and 6 support display:inline-block for those elements whose initial display value is inline - like <a> (the MS doc used to say something along the lines of 'natural display' whatever that would mean). On other elements display:inline-block triggers 'hasLayout' but nothing else, and certainly not what display:inline-block should do per the spec. Fwiw, last time I did something along he lines of your sample, I had to trigger 'hasLayout' on the parent <li> else IE 7 & 6 wouldn't play nice. Philippe -- Philippe Wittenbergh http://l-c-n.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/
