jquery - Putting 2 images in option of drop-down -


this question has answer here:

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

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -