-2

I am displaying placeholders for my input fields,but on IE the placeholders will be displayed as if they are manual text entered by the user, while on firefox & Chrome the placeholder will be displayed as shaded , so that the user can distinguish it from manual entered text. so can anyone advice how i can shade the placeholders on IE ?? Thanks

John John
  • 1
  • 72
  • 238
  • 501

1 Answers1

2

For IE 10 you should be able to use this CSS selector:

:-ms-input-placeholder {
    color: #999;
}

Source: https://stackoverflow.com/a/2610741/2977133

Community
  • 1
  • 1
ntzm
  • 4,663
  • 2
  • 31
  • 35