View Single Post
Old 09-24-2012, 05:33 PM   PM User | #5
Rcoleman25
New Coder

 
Join Date: Jun 2012
Posts: 20
Thanks: 9
Thanked 0 Times in 0 Posts
Rcoleman25 is an unknown quantity at this point
Quote:
Originally Posted by grimesd View Post
Hey, if you decide you want to do a mobile version of your site, you have two options. One is media queries, which is easier but adds more code to your css files. The second is create a "mobile version" of your site as Sammy12 mentioned.

Example of #1.
Code:
@media screen and (max-width:480) {
      // Styling goes here
}
Example of #2.
Instead of yoursite.com
It could be mobile.yoursite.com.

The latter is a definitely a more intensive variation to a mobile site because it involves a completely overhauled version of your website on a sub domain. Usually mobile versions are better for enterprise business (Google, yahoo). For a personal website, I'd suggest using media queries.

It's a must simpler(easier) approach than subdomain mobile version.

Thanks,

But this is a business website... which is launching in one month. So I could put code in my CSS style sheet for a mobile version and then create a geolocation mobile app? 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.
Rcoleman25 is offline   Reply With Quote