0

I'm using a placeholder element for my search box input:

  <input id="searchBarTextbox" type="search" class="k-textbox" placeholder="Search For..." />

However, I want the placeholder text to be 'bolder', to look like the actual text that's written in the text box.

more detail on JSFiddle: http://jsfiddle.net/RYBrk/1/

Mefhisto1
  • 2,188
  • 7
  • 34
  • 73
  • check this link: http://stackoverflow.com/questions/5839270/how-to-set-the-color-of-placeholder-text – G.L.P Jul 14 '14 at 08:27
  • Though this question is specifically about bolding and not color, the essential question is the same (how to style a placeholder), and so is the essential answer (using certain browser-dependent selectors). – Jukka K. Korpela Jul 14 '14 at 08:31

1 Answers1

0

css, font-weight:bold;

::-webkit-input-placeholder {
      color: black;
      font-weight:bold;
    }

jsfiddle here