I’m using the placeholder attribute on input fields like they do in my Bootstrap examples, but it doesn’t show up in my of my elements. Am I missing something? Is there some doctype that I’m missing? I’m using it like in the examples on Boostrap, seemingly a simple attribute, but nothing shows up.
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<form class="form-search">
<input type="text" class="input-medium search-query" placeholder="Search by Tag">
<button type="submit" class="btn btn-primary">Search</button>
</form>
My stupidity is to blame as usual – I was using one of those “downloadable Bootstrap themes”, and this particular theme set the placeholder to #ffffff and the background on inputs to #ffffff.