Solved

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

Posted on 2009-04-03
1
679 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Animate a Title 7 37
lastpass auto fill login form 5 24
Flexbox in CSS3 2 26
Bootstrap 3 and Angular 2 12 24
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now