How do you set as inline if it's not one of the words listed on the single word media types? (http://www.w3.org/TR/CSS2/media.html#medi开发者_开发知识库a-types)
<link media="only screen and (max-device-width:480px)" href="iphone.css" type="text/css" rel="stylesheet" />
The handheld media type is ignored by the iPhone, but I'd imagine the external call above would be in a format somewhat like this:
@media handheld
{
body {margin:0; padding:0;}
}
See example V at http://www.w3.org/TR/css3-mediaqueries/
@media screen and (color), projection and (color) { ... }
精彩评论