protecting css selectors on large website

Posted by Tim on Pro Webmasters See other posts from Pro Webmasters or by Tim
Published on 2012-10-25T15:56:23Z Indexed on 2012/10/25 17:13 UTC
Read the original article Hit count: 379

Filed under:

I have content that appears within a corporate website inside an iframe. Several departments contribute their own CSS files to manage the overall UI and design.

My problem is that they may use selectors for elements like td (for instance), without notice. Of course that will affect my own content in the frame unless I add a class to every td. I'm just using td as an example: the generic style for any element could change without notice.

Is there any method/convention/practice I can use to protect my own styling?

© Pro Webmasters or respective owner

Related posts about css