On 27/03/2011 11:39 PM, HallMarc Websites wrote:
I fixed the path to my style sheet for 800x600 screens but when I test it
at
that screen setting, I still get the style sheet for bigger screens.
The validator says "unrecognized media screen and (max-device-width:
800px)"
I'm steeling myself for the discovery of another dopey error.

http://www.keithpurtell.com/kthings/

- Keith Purtell


use
<link rel="stylesheet" type="text/css" media="screen and (max-device-width:
799px)" href="css/style800.css">
and see this page
http://www.ist.rit.edu/~jxs/services/mediaQueries.html

Thank you,
Marc Hall


I don't see that working. Any the HTML specs [1] has this.


  <!ENTITY % MediaDesc "CDATA"
      -- single or comma-separated list of media descriptors
      -->


Are you saying that (max-device-width: 799px) is part of a descriptor?



1. <http://www.w3.org/TR/html4/sgml/dtd.html#MediaDesc>



--
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to