Please, why that "blank"?
Please, is there a REAL reason to have a "blank" right before "<![endif]-->"???
I see it at almost all Websites.
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
I suspect the code you're looking at comes from a CMS, and real people aren't typing it in. So they're just leaving it as it was given to them. The space is not needed.
I doubt "almost all websites" have this, many folks are not writing code for ancient browsers anymore...
Thanks for the answer. I will take it as true: "The space is not needed."
I see no reason for the "blank" and can't imagine why people are using it.
No... I am not looking "only" at a "one" CMS. I dare to say 90% of responsive templates (using that conditionals) have the "blank". Just as example:
(taken from: http://www.mobify.com/blog/70-stunni...r-inspiration/)
Could list "a hundred" more.
Sorry, but I can't agree with you when you say "many folks are not writing code for ancient browsers anymore".
A LOT of people are still coding for ancient browsers! More than 20% of people at China are still using IE6!!!
I am still supporting IE6 not because I like it (I don't!!!) but because the target of my clients are using it.
Originally Posted by ebmarques
I would say, yeah, it's true, hmmm, actually if were going to think of it, it is just going to be a waste of time, but since compatibility is important to make a good user experience, most of the developers are still coding for ancient browsers, since there are still some that are not that updated with their browsers..
“I can never gain something without losing everything I had before.”
― Nadia Scrieva, Fathoms of Forgiveness
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)