CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
Other Discussions
Media Query's
Ben_Derby
Permalink to comment
#
October 2011
Hey,
Is it possible to use a media query to detect and iPhone browser and send it to different html n css files?
Thanks
matt44903
Permalink to comment
#
October 2011
http://css-tricks.com/snippets/htaccess/iphone-catcher/
WouterJ
Permalink to comment
#
October 2011
Media Queries are CSS, so for another HTML file you should use htaccess or
http://detectmobilebrowsers.mobi/
For only CSS you can use Media Queries. See also:
http://broadcast.oreilly.com/2010/04/using-css-media-queries-ipad.html
http://perishablepress.com/press/2010/10/20/target-iphone-and-ipad-with-css3-media-queries/
Add a Comment
Is it possible to use a media query to detect and iPhone browser and send it to different html n css files?
Thanks
For only CSS you can use Media Queries. See also:
http://broadcast.oreilly.com/2010/04/using-css-media-queries-ipad.html
http://perishablepress.com/press/2010/10/20/target-iphone-and-ipad-with-css3-media-queries/