Menu icon Foundation
Purpose of IE9 comment with lt-ie10 class?

At the bottom of the getting started page, the sample HTML markup includes the following:

<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->

(The getting started page is located here: http://foundation.zurb.com/docs/css.html )

Can someone explain the purpose of the IE 9 conditional comment? I can't find a class in foundation.css called lt-ie10. Also, this comment isn't in the sample index file that comes with the standard Foundation 5 download, so I'm not sure why Zurb included it in the getting started example.

Thanks!

IE9conditional

At the bottom of the getting started page, the sample HTML markup includes the following:

<!DOCTYPE html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->

(The getting started page is located here: http://foundation.zurb.com/docs/css.html )

Can someone explain the purpose of the IE 9 conditional comment? I can't find a class in foundation.css called lt-ie10. Also, this comment isn't in the sample index file that comes with the standard Foundation 5 download, so I'm not sure why Zurb included it in the getting started example.

Thanks!

Rafi Benkual over 3 years ago

This conditional lets you use a custom style class in you css for browsers older than IE9.

.it-ie10 {
    your custom styles for IE
}

This is no longer a default conditional as IE11 no longer recognizes this comment.

Daniel Stanford over 3 years ago

When you say IE 11 no longer recognizes this comment, do you mean it shouldn't be used any more because IE11 will ignore the conditional and apply the ie10 class?

Karl Ward over 3 years ago

As far s I can understand, neither IE10 or IE11 supports these conditional statements. Since IE10/11 browsers are following modern standards however, you should not need to be applying special CSS styles for those version. Instead, you should only need to apply css classes to older IE browsers, which may be in need of CSS modifications.

ome 15 days ago

Hi!guys play this online endless running game and enjoy unlimited fun click here and get the link http://run23.co you have to move forward and avoid the obstacles before it get and loops a new stage.Many many thanks for this  one.

mannmithun 12 days ago

this is one of the best app to download to block all the ads

 

adaway apk

 

adaway apk download

 

download adaway