Can a stylesheet for handhelds skip loading images

Posted by Yeoh Ray Mond on Stack Overflow See other posts from Stack Overflow or by Yeoh Ray Mond
Published on 2010-03-28T08:03:59Z Indexed on 2010/03/28 8:13 UTC
Read the original article Hit count: 280

Filed under:
|
|
|

I have a stylesheet for desktops, and another for handhelds. The web page displays some images when displayed on the desktop, but hides those images when displayed on handhelds. The page appears as designed for both desktops and handhelds.

When I check the server logs, I find that the handheld is actually still loading the images, just not displaying them. Is there a way to stop the handheld from loading the images entirely, since it doesn't need them, without having to maintain two sets of web pages? Can it be done using just stylesheets?

Thanks in advance.

Ray Mond

© Stack Overflow or respective owner

Related posts about css

Related posts about html