Possible Duplicate:
Change an input's HTML5 placeholder color with CSS
For example, I have this:
<input type='search' placeholder='Search' name='q' />
How can I style the placeholder with CSS? By default it's gray, but I'd like it to be black. Do I have to use JavaScript instead?