9.17.2012

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.

9.13.2012

Change in CSS Media Type default value.


 <link rel="stylesheet" type="text/css" media="print" href="print.css">

This attribute specifies the intended destination medium for style information. It may be a single media descriptor or a comma-separated list. The default value for this attribute is "screen".
The default, if the media attribute is omitted, is "all", meaning that by default links apply to all media.

So if your pages suddenly look a little odd, check that you are declaring a media type for all your style sheets.