Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 08-04-2007, 03:16 AM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default CSS Help

Hello there, I am not new to CSS, although I have a question: How do I make my CSS have a background image for a user inputted area? An example would be if I have a contact us form and there is a name input and i want to make the background of the name input to /images/blah.gif Thanks!
Reply With Quote
Unread 08-04-2007, 03:18 AM
bcarl314 bcarl314 is offline
Senior Member
Join Date: Aug 2007
Posts: 141
  #2  
Default

Not tested, but something like this should work. First, give your input tag an id...

Code:
<input name="fullname" id="fullname" value="" />
Then in your css, apply a background image...

Code:
#fullname {
    background-image:url("/path/to/image.jpg");
}
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:21 AM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.