Scott, Have you considered using an IFRAME to display the message itself? This way the message is a separate document with its own CSS; that is independent of the container page...
Jay -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Andrews Sent: Tuesday, November 14, 2006 12:31 PM To: css-d@lists.css-discuss.org Subject: [css-d] Disable CSS for a page fragment We have a site that embeds an HTML email message inside a page that uses CSS for layout. Currently, the styles from the containing site are affecting the display of the embedded message. Is there a way to turn off CSS and the cascade for content inside a block level element? The only thing I can think of is to create a rule that overrides every single CSS property with a default value. Like this: #turnOffCss * { border-width: 0 !important; border-color: #000 !important; border-style: solid !important; ... } Clearly this is poor hack and will not scale well into the future. Any other ideas would be most appreciated. Sincerely, Scott Andrews Web Services Programmer University Web Services Information & Technology Services Rochester Institute of Technology [EMAIL PROTECTED] "What are you doing to harness the intelligence- of your users?" -Tim O'Reilly ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/