Jump to content

Different Website Styles For Mobile And Desktop?


abdua5s

Recommended Posts

The more modern approach is to make one single page that's responsive. Having two different pages was a technique used when media queries were not as widely supported.

 

If you wonder why such big websites as Yahoo and Facebook do it, it's because transitioning from what they currently have to fully responsive would actually cost a lot of money. They'll likely do it eventually, though.

Link to comment
Share on other sites

have one version of your site & then have 2 versions for the css files. use browser sniffing methods to detect what type of device is using then serve the appropriate css file i.e one for mobile and one for desktop. you can even have for tables, phablets and for standard phones. having two different subdomains is not goog for seo purposes as it splits your link juice

Link to comment
Share on other sites

Use css media queries to detect device width, height and adjust accordingly, Not! JavaScript browser sniffing. The reason yahoo use subdomains is probably for international location reasons, they have different content depending on location yahoo.com usa, uk.yahoo.com for uk, and others i suspect, because they target a wider audience, while normally the content would target mostly the local, National area.

Link to comment
Share on other sites

Browser sniffing is a really bad technique. It's can be easily fooled and isn't able to take future browsers and version updates into account.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...