A
A
Arthur Koch2013-05-21 17:38:27
css
Arthur Koch, 2013-05-21 17:38:27

Mobile apple gmail client doesn't understand display:none?

I'm testing a letter in which there is such a media_query

@media screen and (max-width: 600px) {
  #wrapper {
    width:320px;
  }
  #header600 {
    display:none !important;
  }
  #header300 {
    display:block !important;
  }
  #logo {
    display:none !important;
  }
}


And sobsno section of the letter

<a href="#" target="_blank"><img border="0" id="header600" style="display:block;" src="url"></a>
<a href="#" target="_blank"><img border="0" id="header300" style="display:none;" src="url"></a>


Everywhere works perfectly, except for the sabzhevy client. At first I sinned on the inoperability of media_queries, but then I sent a letter without them. And so property display:none; for the second image does not work at all. How to be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
theaspin, 2013-05-21
@dudeonthehorse

http://stackoverflow.com/questions/4013670/gmail-is-ignoring-displaynone

A
Arthur Koch, 2013-05-21
@dudeonthehorse

Tested on iPad mini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question