not good but great

プログラミング、アート、映画・本の感想について書きます。

placeholderはIE9では効かない

Can I use... Support tables for HTML5, CSS3, etc
困ったもんだぜ。

ちなみplaceholderのstyleを変えるのは以下のようにする。

::-webkit-input-placeholder {
    color:    #999;
}
:-moz-placeholder {
    color:    #999;
}
::-moz-placeholder {
    color:    #999;
}
:-ms-input-placeholder {
    color:    #999;
}

jsfiddle.net