IE and inline-block

Apparently IE 8 cannot change the display of a element to inline-block unless it natively is inline.  The fix is to trigger hasLayout on the element before trying to change it.  Below is a code snippet to get elements to behave properly in the annoying world of Internet Explorer.


keyword: ie 8 inline-block

Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *