There Can Be Only One Css Stylesheet Per Media

I thought it was a good idea to specify a media in my stylesheet link :

1
<link rel="stylesheet" href="/stylesheets/tags.css" type="text/css" name="tags stylesheet" media="screen" />

but when I tried to add another stylesheet, it was ignored !

1
2
<link rel="stylesheet" href="/stylesheets/common.css" type="text/css" name="main stylesheet" media="screen" />
<link rel="stylesheet" href="/stylesheets/tags.css" type="text/css" name="tags stylesheet" media="screen" />

It worked by removing the media attribute. It seems that only one
stylesheet per media is taken into account.

Comments