- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › [Solved] Input Background
I Think that Chris did a tutorial on this once but i can’t seem to find it.
Does anyone know how to have text as a background to a form? So for the input box of Email, the word email is the background of the input box, I don’t want it to be the value of the box as i want it to still be there while the user is typing their value.
Many Thanks For Your Time!
Chris
why would you want that? that could make it hard for them to read what they are typing. It could also make your form look like it isn’t working. This isn’t normal form behavior. I would recommend that you not do that
well for that, I am sure they used jquery for that. What I would do is view the source code and see if you can find the script they used to create the affect
Yeah, I tried that already – It’s pretty well hidden
Wait, Just missed it the first time, found it now
Ahh, it’s a label with a z index, and the input is a .png with opacity…
put it together and show us your version when you get it working