IE9 Div and display: inline-block, use display: inline;

Ran into this today.  IE won't use inline-block on elements that are already a block.  Which actually makes sense I suppose.   Use display: inline; on a div instead.

Q: Why do you run into this?
A:  Printing.   IE doesn't like to float things when it prints.  And using floats is probably a hold over from days before display: inline; was properly supported.

No comments: