We are supplying an HTML document to users. I wanted to remove the default indentation of the ul/ol.
As far as I got from searching Google, there is no intuitive way such as "indentation:none;" in CSS, but I have to set margin with negative values.
The problem is that setting a negative margin works more or less the same on IE 10, FF, Chrome, Opera and Safari but not on IE 9 or lower. That is, I need a way to set a different margin if and only if the browser is IE 9 or lower.
I cannot use JavaScript, because if I use JavaScript to change styles dynamically, IE will show that god-damn yellow warning bar each and every single time the user opens the document. I tried conditional comment and put a style there, but it did not work (actually it worked before but somehow does not work now).
Is there any better way to achieve this?