Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #14534

Re: Image in Responsive Design. Need advice ... Thank You.

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: Image in Responsive Design. Need advice ... Thank You.
Date 2012-06-16 16:45 +0300
Organization A noiseless patient Spider
Message-ID <jri2ks$btf$1@dont-email.me> (permalink)
References <6fe7f036-45e3-4f3f-8ca0-05ae4c9baa73@googlegroups.com>

Show all headers | View raw


2012-06-16 16:17, Shapper. wrote:

> http://www.jordanm.co.uk/sourceshuffling
>
> The problem the demo does not work in IE!

The page is buggy: it starts with a <meta> tag. So it does not start 
with a doctype declaration. Therefore browsers go to Quirks Mode. This 
means that they are differently quirky. IE generally refuses to 
understand most of the advanced CSS, i.e. CSS3 features, in Quirks Mode, 
and the page heavily relies on them.

You can see this on IE 9 by hitting F12, then setting Document Mode to 
IE 9 mode. Now the technique works. To make it work in IE 9 on your 
pages, just make sure the document starts with <!DOCTYPE html>.

(It won't work on IE 8 and earlier, due to lack of support to media 
queries, see http://caniuse.com/#feat=css-mediaqueries )

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Image in Responsive Design. Need advice ... Thank You. "Shapper." <mdmoura@gmail.com> - 2012-06-16 06:17 -0700
  Re: Image in Responsive Design. Need advice ... Thank You. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-06-16 16:45 +0300
    Re: Image in Responsive Design. Need advice ... Thank You. "Shapper." <mdmoura@gmail.com> - 2012-06-16 07:57 -0700

csiph-web