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

Lachlan Cannon tiedefenderdelta6 at yahoo.com
Mon Mar 11 01:11:01 CST 2002


--- Sandra L <sandra_etc at yahoo.com> wrote:
> 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.

Your best way of doing this, Sandra would be to create
classes for the options- this way iof you want to re-use a
particular styling you don't have to re-type it all. To get
a font-family inside each option just use font-family: with
that option. So if your class for the first option was
optionfirststyle:

.optionfirststyle {
    font-family: arial, helvetica, sans-serif;
    color: red;
    background-color: blue;
...etc
}

and create all your different options' styles in that way.
Also, if specifying a font with a space in the name make
sure that you always enclose it in double quotation marks,
eg: "Comic Sans MS".

HTH

Lach

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



More information about the thelist mailing list