Hi everyone,
I found this source code on www.paravelinc.com
lt-ie9, lt-ie8, lt-ie7 on the html tag itself is an interesting idea that I have not seen before. Is it the most efficient way to target those browsers?
Also, just curious why no-js (no JavaScript?) would be an included class for all of the IE browsers?
In terms of dir=ltr is that also necessary?
Hmmm, and <meta http-equiv="X-UA-Compatible" content="IE=edge" />
Is that Internet Explorer specific?
Thanks for all of the input here lol - I'm not used to seeing this code. I'm liking the website though, with a responsive layout.
HTML Code:<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en" dir="ltr" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en" dir="ltr" class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en" dir="ltr" class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html lang="en" dir="ltr" class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />



Reply With Quote




Bookmarks