These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:13 pm Advanced search

CSS Media Queries

If you are stuck or have questions regarding HTML or other Web technologies, ask your questions here. No question too dumb!

CSS Media Queries

Postby Type-Style » Wed Nov 17, 2010 2:29 pm

Hi there,

I have a question reagading CSS Media Queries.
It is a simple as, is a image going to be downloaded if I use it for the desktop version but adding display none via media queries, while using my mobile?

It would me a lot if you could help me out there.
Type-Style
<h6>
 
Posts: 5
Joined: Fri Oct 22, 2010 10:29 am

Postby Type-Style » Thu Nov 18, 2010 8:24 am

This question killed me night!
But I finally got an answer.

Images are being loaded even with display:none;

But you can use background-image.
Type-Style
<h6>
 
Posts: 5
Joined: Fri Oct 22, 2010 10:29 am

Postby JAB Creations » Thu Nov 18, 2010 6:30 pm

I think it's IE that will load images nested inside of elements set to display:none.
User avatar
JAB Creations
<aside>
 
Posts: 566
Joined: Tue Mar 13, 2007 4:48 am
Location: Sarasota Florida, USA


Return to Help & Advice

Who is online

Users browsing this forum: No registered users and 1 guest