Quantcast

Forums | MacLife

You are not logged in.

#1 2009-07-18 11:03 am

Pithecanthropus
Roast Master
From: St. Cloud, MN
Registered: 2002-12-30
Posts: 4449
Website

Mobile CSS

Another question.

I have a web site that works well for desktop/laptop browsers, but breaks down when viewed on my iPhone. Is there a way I can make sure that desktop browsers link to "styles.css," but mobile devices link to "mobile.css?" Or will I have to put all sorts of hacks into "styles.css" to make it compatible with mobile devices?


Grandfatherly advice:  You can drink 'em pretty, but you can't drink 'em smart.

Offline

 

#2 2009-07-20 9:52 pm

Basseq
Fixxy of F&S fame
From: D.C.
Registered: 2002-12-18
Posts: 3125
Website

Re: Mobile CSS


Basseq is me, John Whittet.
(Finishing the remainder of the thought expressed in the post has been left as an exercise for the reader.)

Offline

 

#3 2009-07-21 9:11 am

Pithecanthropus
Roast Master
From: St. Cloud, MN
Registered: 2002-12-30
Posts: 4449
Website

Re: Mobile CSS

You rock, thanks!

I looked all over the web and this is the only article that explains it in an easy to understand way.


Grandfatherly advice:  You can drink 'em pretty, but you can't drink 'em smart.

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson