Click to See Complete Forum and Search --> : Input Style
I was wundering if it was possible to have a shadow inside a text box without using a picture? I have seen sites where they have shadows inside their text box. I want to know if this is possible without using images. If it is not possible can someone post the code I need to insert an image as the background of a text box. Thanks. ;)
What do you mean by "shadow"? Perhaps you could post a link to the site you saw it on...
Here is an example I made up real quick:
Yeah, looks like you are going to have to use an image:
<input type="text" style="background: url(directory/image.gif);">
Ok, I'll probably use that then! I have one more question before I use that though. I know you can use and image instead of a submit button for forms, but can you use a image instead of a text box in a form? I would think it would be possible, but I'm not sure. :(
Huh??? I'm not sure I know what you are asking. An image instead of a textbox? I don't think so...
This code below will allow you to have a custom submit button:
<input type="image" name="submit" src="/images/submitbutton.jpg">
Can I do something like this for a text box?