I'm struggling with web design and currently attempting to have iPhones load a different CSS file than desktops. After spending four hours on this task, I am starting to feel really discouraged. All I've been doing is
<link rel="stylesheet" type="text/css"
href="iphone.css"
media="only screen and (max-device-width:
480px)" />
<link href="styleT.css" rel="stylesheet" type="text/css" media="screen" />
The iphone.css
file doesn't even exist, yet iPhones continue to load the styleT.css
What should I try next? The styleT.css loads perfectly fine on desktops.