3 replies [Last post]
imnot
Offline
newbie
Last seen: 10 years 13 weeks ago
Timezone: GMT+5.5
Joined: 2010-07-20
Posts: 1
Points: 2

I am developing a website for desktop. Now i have develop a website for mobile devices. For this how i call the css in asp pages and what media type i can use?

Please reply for this will be great helpful?

Thanks,
Jagadeesh

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 5 years 6 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

<link

<link href="styles/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="styles/handheld.css" rel="stylesheet" type="text/css" media="handheld" />

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 1 week ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Very few devices actually

Very few devices actually support the handheld media type. You're better off using media queries which are explained in this Smashing Magazine article.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 5 years 6 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

I didnt think IE supported

nm