Adding colour to a select menu

liunx

Guest
hi, <br />
<br />
1>how do i add a background clour to a select menu which allows multiple selection<br />
<br />
2>How do i make the following text italic or change the font type<br />
<br />
<FORM ACTION="" METHOD=GET><br />
<INPUT type="text" value="please type your sql query here " size="80%" <br />
onfocus="value=''"><br />
<br />
Thanks<!--content-->1.<br />
style="background-color: #ff0000"><br />
<br />
2.<br />
<FORM ACTION="" METHOD=GET><br />
<INPUT type="text" value="please type your sql query here " size="80%" <br />
onfocus="value=''" style="font-style: italic"><!--content-->to expand on God Zilla's post; here's a nifty idea for ya:<br />
<br />
<select><br />
<option style="background-color:red;" value="red"> Red </option><br />
<option style="background-color:green;" value="green"> Green</option><br />
<option style="background-color:blue;" value="blue"> Blue </option><br />
<option style="background-color:orange;" value="orange"> Orange </option><br />
<option style="background-color:gold;" value="gold"> Gold </option><br />
</select><br />
<br />
<br />
---and---<br />
<br />
<br />
<select><br />
<option style="color:red;" value="red"> Red </option><br />
<option style="color:green;" value="green"> Green</option><br />
<option style="color:blue;" value="blue"> Blue </option><br />
<option style="color:orange;" value="orange"> Orange </option><br />
<option style="color:gold;" value="gold"> Gold </option><br />
</select><!--content-->
 
Back
Top