Hi,
I search a way to insert an image in an OPTION included (obviously) in a SELECT. I think that is not possible...but maybe....!
<STYLE>
.option1 {font-family: Verdana, Arial; font-size: 11px; background-color: #CDDDDD;}
.option2 {font-family: Verdana, Arial; font-size: 11px; backgroundImage: "img01.gif";}
</STYLE>
<SELECT size="3>
<OPTION CLASS="option1">Lithium (Li)</OPTION>
<OPTION CLASS="option2">Sodium (Na)</OPTION>
</SELECT>
this work just with background-color. somebody knows a way ?
thanks
I search a way to insert an image in an OPTION included (obviously) in a SELECT. I think that is not possible...but maybe....!
<STYLE>
.option1 {font-family: Verdana, Arial; font-size: 11px; background-color: #CDDDDD;}
.option2 {font-family: Verdana, Arial; font-size: 11px; backgroundImage: "img01.gif";}
</STYLE>
<SELECT size="3>
<OPTION CLASS="option1">Lithium (Li)</OPTION>
<OPTION CLASS="option2">Sodium (Na)</OPTION>
</SELECT>
this work just with background-color. somebody knows a way ?
thanks