[web] How do I set my website to load a mobile stylesheet if there is a mobile header?
Hey, I've been looking this up online, but can't really find it.. How do I load up a specific style sheet depending on if the user is mobile?
Thanks a lot for the all the help the last few weeks guys, and here's my site so far if you guys want to check it out (I bought a domain, but i'm still waiting for it to get registered). I'm looking for feedback, so let er rip.
Site
You use the "media" directive to include multiple stylesheets. One for screen, one for handheld, etcetera. The device will load whatever matches best. See http://www.w3.org/TR/REC-CSS2/media.html.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement