mobile device not detecting media stylesheet
I am rather new to responsive websites and though I have built a few
responsive sites previously that worked fine, for some reason I am having
trouble with a current site. When viewed on a laptop or desktop the break
points work well when adjusting the browser size, however when viewed on a
mobile device it just loads the full size and fits it to the screen width
ignoring the media specific stylesheets. As I said I have used this method
in the past and haven't had any issues so am hoping someone can point me
in the right direction. I have seen similar issues in forums but haven't
had any luck with the solutions provided.
The URL i am working off is www.evolvecollaboration.com/test/index.html
and the code from my is below.
<meta name="viewport" content="width=device-width, maximum-scale=1.0,
minimum-scale=1.0, initial-scale=1.0" />
<link rel="stylesheet" href="_css/myer_reset.css">
<link rel="stylesheet" type="text/css" href="_css/structure.css" />
<link rel="stylesheet" type="text/css" media="only screen and
(min-width:501px) and (max-width:800px)" href="_css/structure_tablet.css"
/>
<link rel="stylesheet" type="text/css" media="only screen and
(min-width:50px) and (max-width:500px)" href="_css/structure_mobile.css"
/>
No comments:
Post a Comment