PDA

View Full Version : Directing mobile users to a subdomain using HTML/CSS



scwellman
23 Dec 2009, 10:56 AM
I am working on a site that was designed using tables from the stone age. I do not have time to redesign the entire site using CSS layout, but I did make a subdomain m.website and created a simple page the company wants to use for mobile users.

I have the subdomain and the HTML/CSS setup, but just need to know how to divert mobile users to the m.website version, instead of the www.website version. I saw a post about doing this with .php, but I am not familiar with php and want to know if there is an HTML/CSS way of doing this.

Thanks in advance for any helpful information.