You could give the div a id of say #preview *{ } and use that and it should attribute the styles you  define in preview to everything in the div

 


From: Chris Stratford [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 22, 2004 11:34 AM
To: Web Standards Group
Subject: [WSG] Clear Styles?

 


I dont know, but is there a way to hide all styles from a <div>

what I have is - an admin page, where the owner can enter text into a <TEXTAREA>
And click PREVIEW
and it will load it into a DIV below the TEXTAREA.

I dont want any of the styles to "cascade" down into this area...

Is there anyway to stop that from happening?

I think i explined it very "crappily" and i hope you understand what I am after...

***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************

Reply via email to