On 7/18/2011 12:34 AM, Philippe Wittenbergh wrote:
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.
Hi Philippe,
I tested my example down to IE5. Seems to work fine as is. David's
method would likely have whitespace issues in all browsers. The combo of
inline-block and 0 font-size on the same element, solves that.
--
Al Sparber - PVII
http://www.projectseven.com
Dreamweaver Menus | Galleries | Widgets
http://www.projectseven.com/go/hgm
The Ultimate Web 2.0 Carousel
______________________________________________________________________
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/