I am salesforce (SFDC) developer. In my visualforce page for input box I am using placeholder code.
<div class="control-group">
<label class="control-label visible-desktop" for="first_name">First Name</label>
<div class="controls">
<input class="input-block-level" name="First Name" id="first_name" placeholder="First Name" value="" type="text" required="required" autofocus="autofocus" />
</div>
</div>
I checked in internet for some CSS hack but I didn't find any. I find some javascript hack.
HTML5 Placeholder jQuery Plugin
https://github.com/mathiasbynens/jquery-placeholder
Demo & Examples
http://mathiasbynens.be/demo/placeholder
But I don't want to use jQuery hack or something.