Chrome supports the placeholder attribute on input[type=text] elements (others probably do too).
input[type=text]
But the following CSS doesn\'t do anything
CSS
This short and clean code:
::-webkit-input-placeholder {color: red;} :-moz-placeholder {color: red; /* For Firefox 18- */} ::-moz-placeholder {color: red; /* For Firefox 19+ */} :-ms-input-placeholder {color: red;}