Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-03
1
Medium Priority
?
717 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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

963 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