Hi all, I am having a few problems with a css. Basically in my conditional css I need to target IE9 and below (IE9 included). Now, I have this:

<!--[if IE 9]>
...
<![endif]-->

and

<!--[if lt IE 9]>
...
<![endif]-->

Can I combine them together somehow?
thanks

Recommended Answers

Yes, you should be able to use 'lte' ->>> "less than or equal to". So for example..

<!--[if lte IE 9]>
   ...
<![endif]-->

Microsoft reference doc: About conditional comments

Jump to Post

All 2 Replies

Yes, you should be able to use 'lte' ->>> "less than or equal to". So for example..

<!--[if lte IE 9]>
   ...
<![endif]-->

Microsoft reference doc: About conditional comments

oh brilliant, thanks a lot!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.