[thelist] <option value= > Specifying a Font Face

Sandra L sandra_etc at yahoo.com
Mon Mar 11 00:37:01 CST 2002


Hi,
I'm new to the list, so here it goes..

Have come up blank in trying to set more than one font
face in the option values in a List. I have found how
to set a different font color and/or background color
for each item, but not the font face. For example I
would like the first option to be "Arial" in the Arial
font, second option "Times" in the Times font etc.

Below is an example using style as to how the font
color and background color works, thought it may help
inspire someone.

<form name="" method="POST">
<select name="menu" size=1
style="font-family: comic sans ms"
style="color: #FFFF00"
style="border: outset"
style="font-size: 9"
style="background: #CC99FF">
<option value="text1"
style=background-color:;color:000000>text1</option>
<option value="text2"
style=background-color:ccccff;color:000000>text2</option>
<option value="text3"
style=background-color:ff99ff;color:000000>text3</option>
<option value="text4"
style=background-color:9999ff;color:000000>text4</option>
</select>
....etc


Thanks,

Sandra.



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/



More information about the thelist mailing list