image at selectbox...IE?
Posted: Sat Apr 21, 2007 6:38 pm
I found arround the internet a really cool way to have an image at selectbox.
Wanted to have a selectbox for the user to choose the way he wants some data sorted.
I have this code and this style.
Works really nice with mozzila...But, as allways, there is a problem with Internet Exlporer. IE doesnt show the images, is there anyone you know if i can fix this?
Out of topic comment and question...
Genereally IE limits ones choices amazingly much, so can anyone see any hope that all those problems will soon be fixed?
Wanted to have a selectbox for the user to choose the way he wants some data sorted.
I have this code and this style.
Code: Select all
<style type="text/css">
<!--
option[value=price ASC]:before { content:url("up.gif"); }
option[value=price DESC]:before { content:url("down.gif"); }
option[value=size ASC]:before { content:url("up.gif"); }
option[value=size DESC]:before { content:url("down.gif"); }
-->
</style>Code: Select all
<option value="price ASC">Price</option>
<option value="price DESC">Price</option>
<option value="size ASC">Size</option>
<option value="size DESC">Size</option> Out of topic comment and question...
Genereally IE limits ones choices amazingly much, so can anyone see any hope that all those problems will soon be fixed?