I want to know, when using conditional comments, what is the correct way (pay attention to the closing div tags)
This way, with one closing div for both conditional divs
<!--[if IE]> <div id="IEdiv"> <![endif]--> <!--[if !IE]><!--> <div id="AllOtherDiv"> <!--<![endif]--> <div>The Content</div> </div> OR
This way, with a closing div for each conditional div, and repeating the SAME html
<!--[if IE]> <div id="IEdiv"> <div>The Content</div> </div> <![endif]--> <!--[if !IE]><!--> <div id="AllOtherDiv"> <!--<![endif]--> <div>The Content</div> </div> NOTE: You might wonder why I don't just use conditional stylesheets if the inner HTML is the same, but I use inline styles on the conditional divs(I have to) and the inline style for IE is different (necessary because IE sucks so bad with it's css support... )
Thank you
divvia the class name, whether you're in IE or Firefox or Chrome