jquery - Putting 2 images in option of drop-down -
this question has answer here:
- adding images option tag [duplicate] 1 answer
i trying put 2 images in option-tag of dropdown-box. 1 image works background-image porperty. tried following code not working. best way this?
<select> <option> <img src="fist.jpg" height="10" width="10"/> <img src="second.jpg" height="10" width="10"/> </option> </select>
you can't put images in option tag.
depending on you're trying do, can use multiple background images in css3.
background-image: url(first.jpg), url(second.jpg);
Comments
Post a Comment