How to keep validator warning from coming up for voice-family?
Does anyone know how to keep the warning from coming up for voice-family (the IE box model hack)? I've seen it done on several sites (simplebits.com is one), but I cannot figure out how he did it. I'm using the same method of calling the external file as he is but I keep getting warnings:
Its because you specify media="screen" and the voice family hack is aural so it won't validate. If you leave out the media =screen I believe it will validate but of course may conflict if you have other media styles set up.
Thats why I always use * html instead of the voice family hack and it validates fine (see FAQ on box model hack). Note that ie5 will skip the whole style after a voice family hack and if you arent using the be kind to opera html>body etc routine then ie5 will jump the complete next styles block (whatever it may be).