The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Conditional comments explanations Re: Conditional comments explanations


Pretty much the same way. If condition is true, the html gets inserted into the document. In this case it’s a way to create a class on the html element to identify ie 8. You can then use it in css selectors like `.ie8 .someElement { … ie 8 specific styles … }`.