|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to clear all inherited css
I've got a div that incorporates some inline styling. Looks fine on a blank page, but when I insert it into a more complex page it inherits all the styling of the stylesheets.
Is there anyway to I can have this div ignore all inherited styling and just format itself according to browser defaults and its own inline styling? Last edited by scream : May 8th, 2008 at 09:56 AM. |
|
#2
|
||||
|
||||
|
No. You'll have to override all other properties being set on it.
__________________
Spreading knowledge, one newbie at a time. Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions IE7: the generation 7 browser new in a world of generation 8 browsers. Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > How to clear all inherited css |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|