I am trying to style the title attribute of a <input type="text">
using CSS. So this is what I did:
input[type="text"][title] {
font-style: italic;
color: gray;
}
It works okay, but when I enter data into the field, the data is gray and italic. I want the data (value) to be normal and black, and only the title to be italic and gray.
Any ideas?