[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Setting Font within <select> tag

Posted on 2000-02-05
3
Medium Priority
?
224 Views
Last Modified: 2013-12-03
I would like to set the font within a <select> tag so that all the <option> strings have a particular font. Can that be done? How?
0
Comment
Question by:jc31415
  • 3
3 Comments
 
LVL 6

Accepted Solution

by:
Marine earned 200 total points
ID: 2493062
This would do just that.
Need another font name just change serif to something else.

<SELECT id=select1 name=select1
style="FONT-FAMILY: serif; HEIGHT: 22px; WIDTH: 161px"> <OPTION selected
  value="">dfgsdfgsdfg</OPTION><OPTION value="">sdfgsdfgsdfg</OPTION><OPTION
  value="">dsfgsdfgsdfg</OPTION><OPTION value="">dfgsdfgsdfgsd</OPTION><OPTION
  value="">dfgsdfgdsfg</OPTION><OPTION
value=""></OPTION></SELECT>
0
 
LVL 6

Expert Comment

by:Marine
ID: 2493065
Ignore option value tags if you don't have the use for them.
0
 
LVL 6

Expert Comment

by:Marine
ID: 2493142
Thanks for the points :-)

Best of luck
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question