Using CSS3 media elements

<link rel=”stylesheet” type=”text/css” media=”only screen and (max-device-width:480px)” href=”mobile.css” />
This will apply to any screen less than or equal to 480px
You then create a mobile.css style sheet that contains all the formatting for your mobile web site.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *