Hello. I'm trying to use an IE conditional comment to accommodate browser CSS differences. The syntax is the following:
<!--[if lte IE 7]>
<style>
#mydiv {width:100px}
</style>
<![endif]-->
I'm putting this in the <head> of the main.html page. However, when OR processes this, it strips out the {width:100px}. So, the IE conditional comments don't work.
Is there a way to escape the curly braces {} so that OR will leave them alone? I tried the wiki and the forum but couldn't find an answer.
Thank you.


Reply With Quote





Bookmarks