views:

70

answers:

3

I have one <div> and I don't wish to inherit any formatting from any other stylesheets - I want to start fresh with this <div>. How can I do it?

+3  A: 

i don't know any solution except explicit resetting of all styles for this div.

oezi
+2  A: 

you cannot reset inheritance of css styles. To start from fresh you must design your style sheet to prevent undesirable inheritance, this is the only way except overriding styles.

Jenechka
I am inheriting nasty text styles that I dont need, its the work of another designer
chris
+2  A: 

Use something like firebug or IE developer toolbar to get a list of all styles applied to the div, and manually reset them all, unfortunatly.

Alex Larzelere