Block level element inline-block hack

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

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 beta 2 | Reported on 12 October 2005.

Comments

(Add your own)

Posted by Bruno Fassino on 7 February 2006

1

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: http://www.brunildo.org/test/InlineBlockLayout.html
What has changed is the response to the various hacks, so these need to be re-checked.

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes