Targeting IE Using Conditional Comments and Just One Stylesheet

/ Published in: CSS
Save to your folder(s)

A wrapper may be made to enclose the content of a page, and then you can write descendant CSS rules that mention that wrapper's ID or class name in the selector. But what if only IE thought that wrapper existed? Then those rules would only work for IE, while other browsers would ignore the rules completely.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.