2010-08-12 18 views

回答

0

基本上,你不能刪除繼承的屬性。你需要用「更強大的」CSS規則來覆蓋它們。如果需要,您可以使用!important關鍵字。

.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. */ 
    } 
0

不確定是什麼問題?從HTML代碼片段看來,您的表格列中有一個「TaskFormField」類,這就是您的樣式框中顯示的內容。如果你想爲輸入重載,你可以這樣做:

.TaskFormField input {color:#000;字體大小:10PT; font-family:Arial,Verdana,Sans-Serif;}