Ignoring inherited CSS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • freedom9ner
    New Member
    • Aug 2008
    • 3

    Ignoring inherited CSS

    I'm working on a big web-app where most elements are inherting CSS from an external CSS file.

    I have a particular Table element that needs to completely ignore all CSS inheritance and just be a virgin Table (in terms of appearance).

    I know the Class attribute is where you specify what CSS class definition you want to apply. However, I would prefer to not overwrite the inheritance, but ignore it all together.

    Is there a way, through the Class attribute or another means, to reset my Table to default appearance (as in no CSS)?
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    not that I know of. The closest thing I can suggest is defining a class with all the style properties set to default:
    [code=html]
    .default {
    margins: default;
    padding: default;
    border: default;
    etc.
    }
    [/code]Sorry I couldn't help you more...

    Jared

    Comment

    Working...