css - IE conditional in the stylesheet -


I have a and

  • gt; & Lt; Li & gt; I am trying to raise the top limit of a content div with the boundaries below. The list used for the above navigation (like a tabbed panel). Alignment in IE (or I set margin) is off with 1 pixel.

    Is there a direct way within CSS, so I do not have to make a separate IE stylesheet. Is there a bet that will set the margin for IE's choice? Or, if I'm turning off IE from 1 pixel, then I would love to hear that I can escape the IE hack completely (I know that I have not posted any code yet). Thanks!

  • Yes, there it is.

    Myclass {* Margin: 1px; }

    This works for IE6 and IE7, do you need to hack for any other specific version?


    Comments

    Popular posts from this blog

    c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

    Calling GetGUIThreadInfo from Outlook VBA -

    Obfuscating Python code? -