2014-10-30, 18:58:53
(2014-10-30, 03:17:32)shawn_a Wrote: The confusion is because chrome ( and maybe other browsers ) do not hide the placeholder on input focus, which is odd.Because of this behaviour I added the jQuery Placeholder Plugin to my contact form.
I didn't want to use <legend> or a headline or something to make it look slim.
You can find one here.
All you have to do is add this line
Code:
<script type="text/javascript" src="'.$SITEURL.'path_to/js/jquery.placeholder.js"></script>
Code:
.placeholder {
color: #888 !important;
}
.placeholderFocus {
color: #555;
}
Just a thought. You can even override it.