Link to home
Start Free TrialLog in
Avatar of jeveloff
jeveloff

asked on

Drop Down Box Background Image

I am trying to add a background image to a drop down box but have been unsucessful.  The code for the field is:

<select name="vehiclemake" id="vehiclemake" style="border:1px solid #808080; background-position: left top; font-family: Verdana; color: #FFFFFF; font-size: 10pt; font-weight: bold; background-color: #666666; background-image:url('http://theinternetcarlot.com/staff/customers/images/tdheaderbg.jpg')" value=''/>

Any ideas of why it isn't working?  Thanks!
Avatar of Badotz
Badotz
Flag of United States of America image

um, it isn't supported?
Avatar of pmagony
pmagony

I don't know if this is possible or not.

Your code syntax is wrong:

<select name="vehiclemake" id="vehiclemake" style="border:1px solid #808080; background-position: left top; font-family: Verdana; color: #FFFFFF; font-size: 10pt; font-weight: bold; background-color: #666666; background-image:url('http://theinternetcarlot.com/staff/customers/images/tdheaderbg.jpg');" value=''"/>

You forgot to end your background image syntax with a semi-colon, and then you had an html attribute of value, that wasn't closed correctly with the last quote.  Give it a whirl, hope it works for your sake, but I doubt it.
ASKER CERTIFIED SOLUTION
Avatar of VirusMinus
VirusMinus
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial