Ok - I will clear up what I meant to say...

I currently have an admin page where its possible to enter HTML into a TEXTAREA box...
There is a Button below that, which says: PREVIEW HTML...
That button links to a _javascript_ which will (without reloading any content) simply populate a DIV with the HTML entered into the TEXTAREA...

This all works 100%

Although my client, being not totally confident with the system, will wonder why his links, are being underlined, and the background image changing...
and the padding for <p> elements, and the formatting of <abbr> and other elements...

I would MUCH rather DIV simply populate with DEFAULT CSS Attributes...

Is there anyway to override everything that has been defined, without needing to manually set the defaults into the DIVs CSS...

[Im simply wondering if its possible at all... if not, thats ok, I will just have to reset most of the styles myself - its just I have read about certain functions which can override attributes etc... but im not 100% sure on that...]

Thanks again WSG!

Cheers!

Chris Stratford wrote:

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 *****************************************************
***************************************************** 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