Somehow your post on 9-21 never showed up for me.
Quote:
Originally Posted by Rcoleman25
so I could essentially have a mobile site and then build an app SIMILAR to the mobile site with a geolocation feature...
|
Yes, the code below targets a specific screen size and you would insert CSS targeting phones. You shouldn't have to change everything, just widths and heights. The color scheme and everything else stays the same, unless you want to create a completely different design for a mobile device (in which using a subdomain like mobile.website.com would be preferable).
Code:
@media screen and (min-width: 321px) and (max-width: 480px) {
}
Quote:
Originally Posted by Rcoleman25
I would like to have one of those auto detect scripts which introduces a scaled-down version of my website when customers log in from their mobile phones.
|
@media queries are auto-detection scripts. They are for CSS only for mobile sites.