2012-09-29 3 views

답변

1

:

There’s only one css style class applying watermark which is ‘.ui-watermark’, you can override this class to bring in your own style. Note that this style class is not applied when watermark uses html5 placeholder if available.

PrimeFaces User's 가이드 페이지 : 433 Primefaces는 jQuery의 워터 마크를 사용합니다. 자세한 내용은 here을 확인하십시오.

이 시도 :

input::-webkit-input-placeholder { 
      color: red !important; 
     } 

: 링크에서 언급 한 바와 같이 위는 일부 브라우저에서 작동합니다. 내가 chromeIE7에 그것을 테스트, 그것은 Google Chrome에서 작업하지만

+0

Internet Explorer에서이 방법을 시도하고, 나던 작업 –

+0

@Abhishek 당신은 당신이 시도는 CSS를 게시 할 수 있습니까 ?? – PermGenError

+0

.ui- 워터 마크 { 색상 : 빨강! 중요; font-size : 0.5em; } –

관련 문제