Change content in HTML only with CSS?
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.
Rick Trethewey
Rainbo Design
I think there are some possibilities using CSS selectors..
Please go through the following article..
http://coding.smashingmagazine.com/2...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...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks