Block level element inline-block hack

IE doesn't apply the value inline-block for the CSS display property on HTML elements that default to block level without the hack detailed here.

ppknote 4-feb-06: Workaround doesn't work in IE 7 beta 2.

Test page Workaround is included
Reported by: Spartanicus.

Explorer 5-6 Windows, Explorer 7 | Reported on 12 October 2005.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by Bruno Fassino on 7 February 2006 | Permalink

Nothing has really changed in IE7 beta 2 in this area, so it is still possible to get the 'inline-block' behaviour on elements which default to block level, see for example:
What has changed is the response to the various hacks, so these need to be re-checked.