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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.