Le 8 juil. 2014 à 10:21, Crest Christopher <crestchristop...@gmail.com> a écrit 
:

> I'm trying to get some placeholder text to style. I've done the following but 
> it's not working in FireFox 30.o ?
> 
> -moz-#message.placeholder {color:blue;} /*Style Placeholder ?*/

That is not a surprise: that is a non-sensical selector…

There is: :-moz-placeholder pseudo-class for older versions of Firefox;

https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-placeholder

There is the ::-moz-placeholder pseudo-element for Firefox newer than version 
19 (according to MDN)

https://developer.mozilla.org/en-US/docs/Web/CSS/::-moz-placeholder

Perhaps #message::-moz-placeholder  { color: blue; } will do what you want?

Philippe
--
Philippe Wittenbergh
http://l-c-n.com




______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to