Tuesday, 13 August 2013

putting 2 images in option of drop-down

putting 2 images in option of drop-down

I was trying to put 2 images in a option-tag of a dropdown-box. One image
works with the background-image porperty. So I tried the following code
but its not working. What is the best way to do this?
<select>
<option>
<img src="fist.jpg" height="10" width="10"/>
<img src="second.jpg" height="10" width="10"/>
</option>
</select>

No comments:

Post a Comment