tags:

views:

16

answers:

2

How can I remove the inherited properties?

the html tags are displayed below

A: 

Not sure what the question is? From the snippet of HTML it looks like you have a "TaskFormField" class on your table column and that is what is showing up in your style box. If you want to over-ride for the input you can do something like:

.TaskFormField input {color:#000; font-size:10pt; font-family:Arial,Verdana,Sans-Serif;}

Sam
A: 

Basically, you can't remove the inherited properties. You need to override them with "stronger" CSS rules. You can use the !important keyword if you need to.

    .TaskFormField {
      font-size: 10px !important;
    }

    .TaskFormField {
      font-size: 12px; /* One could believe that the font size should be 12px,
                  but it remains 10px because the !important keyword is used. */
    }
Christian Nesmark