Hi, i want to change the content "User" in <input value="User" /> only with CSS,no tuch HTML.Is this possible? Thanks!
No. CSS can't do that. You'll need to use JavaScript to change the value.
I think there are some possibilities using CSS selectors..
Please go through the following article..
http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/
The author is talking about the different CSS selectors
The only attributes that CSS Selectors can work with are attributes that "regular" CSS plays with, not "input attributes". That is, it can affect "style" stuff (colors, backgrounds, width, padding, etc.), not "input values".
Thank you,seems not possible...