Can't you import another css file after that one and then do something like
this:
MainForm p input, .MainForm p button {
padding-left: inherit;
padding-right: inherit;
background: inherit;
border: inherit;
font-weight: inherit;
}
Not sure... just a guess...
Best regards,
Martin
2009/10/19 SS <[email protected]>
>
> Hello,
> I need to invalidate a block in my css file so that the properties in
> the css never get applied in my code. I can't simply delete the block
> in my css because I'm using a plugin, therefore I have to override it
> and somehow tell css not to apply the properties for that id/class.
> For example, I have this block in my css file:
>
> MainForm p input, .MainForm p button {
> padding-left: 0em;
> padding-right: 0em;
> background: none;
> border: none;
> font-weight: bold;
> }
>
> Now, I need to keep it but I want those properties to never become
> applied on my form button. I want the default button look and feel of
> the browser.
>
> I did quite bit of google search and didn't find an answer. Can
> somebody help please?
>
> Regards,
> Siyan
>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]
-~----------~----~----~----~------~----~------~--~---