I have been using a media type since I started using stylesheets but never knew what it was for. I now have a rough idea after looking around, but I'm wondering whether you actually have to declare your stylesheet under a media type.
I wonder this because I have started to use the
voice-family: "\"}\"";
voice-family:inherit;
code, to sort out bugs in IE 5.01 and 5.5. It works perfectly, but produces a warning upon validation when my media type is set at 'screen'.
So I decided to try to work out how to get rid of the warning, and one method was to simply declare your stylesheet without a media type. This validates fine now and still renders as before. Which is good of course. However I'm just wondering what the implications are for not declaring a media type.
Any comments?
RSince that's the default, you don't need to declare it.I'll go with that then. Ta.
R
I wonder this because I have started to use the
voice-family: "\"}\"";
voice-family:inherit;
code, to sort out bugs in IE 5.01 and 5.5. It works perfectly, but produces a warning upon validation when my media type is set at 'screen'.
So I decided to try to work out how to get rid of the warning, and one method was to simply declare your stylesheet without a media type. This validates fine now and still renders as before. Which is good of course. However I'm just wondering what the implications are for not declaring a media type.
Any comments?
RSince that's the default, you don't need to declare it.I'll go with that then. Ta.
R