I tried to follow the following topic, but unsuccessfully. Change an HTML5 input's placeholder color with CSS
I tried to colorize my placeholder, but it still stay grey on Chrome 17.0.963.56 m.
HTML
<input type='text' name='test' placeholder='colorize placeholder' value='' /> CSS
INPUT::-webkit-input-placeholder, INPUT:-moz-placeholder { color:red; } input[placeholder], [placeholder], *[placeholder] { color:green !important; } JSfiddle
On Firefox 10.0.2, it works well.
!important, or make sure everything cascades as intended.!importantdid the trick for me. Without that, the placeholder text colour remained frustratingly unchangeable, even while other font attributes could be changed.