I am using media queries to edit certain elements of a website for mobile use. I know for definite that the media-specific stylesheet works, however particular elements don't seem to edit. Does anyone have any idea why this would happen? I have pasted the style start tag and also both versions of the element in question.
<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="/small-devices.css" type="text/css" />
#home-content { /* small device stylesheet */
position:absolute; width:700px;
bottom:165px; left:0%; padding:35px 45px 35px 45px;
background:url(/img/content-background.png) repeat;
}
#home-content { /* regular stylesheet */
position:absolute; width:30%;
bottom:65px; left:0%; padding:35px 45px 35px 45px;
background:url(/img/content-background.png) repeat;
}
Any help would be great! Thanks guys.