Solved

How to disable images with css for media="handheld"

Posted on 2009-04-03
1
692 Views
Last Modified: 2012-05-06
Im trying to make a website that will render well on a pc and a mobile browser. I have a style sheet for media="screen" and one for media="handheld". Is there a way to disable the images under the handheld media type?
0
Comment
Question by:toymachiner62
1 Comment
 
LVL 3

Accepted Solution

by:
blatantwaste earned 250 total points
ID: 24062609
yes, inside your stylesheet that you have set for "media=handheld", just place the following code:
img {
display:none;
}

Open in new window

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create animated movies for web page 18 84
If condition on Html with Asp 11 27
AJAX Wordpress Not Reading Variable 2 27
Hiding Adsense on Mobile Devices 2 28
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question