color placeholder Search

  • I have used different codes css to change the color of the placeholder in the search field. But I could not, or better. It works correctly on chrome, opera, safari and internet explorer, but does not go on Mozilla Firefox. The code I use is this:

    CSS
    .userPanel > div > .searchBar > form input[type="search"]::-webkit-input-placeholder {color: #cccccc;}
    .userPanel > div > .searchBar > form input[type="search"]::-moz-placeholder {color: #cccccc;}
    .userPanel > div > .searchBar > form input[type="search"]:-ms-input-placeholder {color: #cccccc;}

    I have also used other, but I have always the same problem. The curious thing is that even with the style of woltlab.com happens to me. That is, on chrome and other browsers I see a color while on mozilla firefox I see the base color.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!