Font size in pull down men

Posted on 2005-05-09
Last Modified: 2013-12-03
I need to define the size of the font size in a pull down menu. I've got a select box that looks like this:

<select name="Category">
option>Search by...</option>
<option>Model Number</option>

I would like the font to match the rest of the page. The same thing would apply to text boxes etc. For example <input type="text" size="35" value= (here is where I want to dictate the font size)">

Can this be done and, if so, how?
Question by:brucegust
    LVL 96

    Expert Comment

    by:Bob Learned
    ASP classic or ASP.NET?

    LVL 4

    Accepted Solution


    <select style="font-face: Arial">...</select>
    <input style="font-face: Arial; font-size: 10pt">...

    You can also define a style sheet (CSS):

    <style type="text/css">
    .mytype { font-face: Arial; font-size: 10pt; font-weight: bold; }


    <select class="mytype"> ... </select>
    <input class="mytype">...</select>

    Note the dot before "mytype" in the style part, and that there is no dot in class attribute.

    Look for CSS in google. might help.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    static class 3 44
    copyEndy  challenge 15 40
    bigHeights  challenge 13 43
    wordmultiple challenge 12 64
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    This article will show, step by step, how to integrate R code into a R Sweave document
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now