Select (background) <style>

windows

Guest
Hi<br />
<br />
Have been trying to get the "select" to add a background image to it all day. Using the same method as inputs etc. but this style just isn't taking to the select. Any suggestions?<br />
<br />
----------------<br />
Here's the code: <br />
<br />
<style><br />
select.image {<br />
border-left: 1px solid #9FB6CD; border-right: 1px solid #9FB6CD; border-top: 1px solid #9FB6CD; border-bottom: 1px solid #9FB6CD;<br />
font: 8pt Verdana;<br />
background-image:url(<!-- m --><a class="postlink" href="http://www.borderprints.co.uk/logos/banner_7.gif">http://www.borderprints.co.uk/logos/banner_7.gif</a><!-- m -->); <br />
}<br />
select.image2 {<br />
border-left: 1px solid #9FB6CD; border-right: 1px solid #9FB6CD; border-top: 1px solid #9FB6CD; border-bottom: 1px solid #9FB6CD;<br />
font: 8pt Verdana;<br />
background-image:url(<!-- m --><a class="postlink" href="http://www.borderprints.co.uk/logos/banner_7.gif">http://www.borderprints.co.uk/logos/banner_7.gif</a><!-- m -->);<br />
}<br />
</style><br />
<select name="test" class="image" onMouseOut="this.className='image'" onMouseOver="this.className='image2'"><br />
<option>select please</option><br />
<option>number one</option><br />
<option>number two</option><br />
</select><br />
----------------<br />
For an example for what it's supposed to do please go here:<br />
<br />
<!-- m --><a class="postlink" href="http://www.borderprints.co.uk/input.html">http://www.borderprints.co.uk/input.html</a><!-- m --><br />
<br />
Any help would be greatfully received! <br />
<br />
Cheers!<!--content-->jackson17,<br />
<br />
First thing I would check is whether "Ad Blocking" is enabled on my PC. Some PC internet security systems are able to block all ads by certain file names like "ad", "banner" etc.<br />
<br />
Now, your images contain the word "banner" and are by default not shown on my PC. How about yours? And others?<br />
<br />
Just a suggestion before you keep on pulling hair out of your head in frustration. ;)<!--content-->Good suggestion philaweb, but this banner is not displaying on mine either. have sleipnir 1.41 on win xp<!--content-->You can change the color and background-color, for the select and option in IE, but not an image or border.<br />
In Mozilla you can add an image and change the border to option.<!--content-->
 
Back
Top