2016-08-23 91 views

回答

1

試試這個:

.error_field 
{ 
    color:red !important; // Now this will override the default css and apply yours 
} 
+0

非常感謝哥哥.....它的工作:-) –

+1

然而,這會起作用,但在同一時間,他/她應該需要知道爲什麼它得到壓倒性優勢。 此外,我們應該避免使用**!important **,除非它們是絕對必要的.. http://james.padolsey.com/css/dont-use-important/ –