How to edit the text on the buttons and text areas?

Discussion in 'HTML & Website Design' started by hhheng, Oct 19, 2006.

  1. #1
    [​IMG]

    How to change the texts on the search button and drop down menu? For example, I want the "search" and "Select Country" and its listings to be Arial font, size 10 pts, etc. And how to make the format of the filled texts in the text area to be Arial, Size 10 pts also?

    Thanks a lot!
     
    hhheng, Oct 19, 2006 IP
  2. missdanni

    missdanni Guest

    Best Answers:
    0
    #2
    I would suggest using a simple css.

    It would look like this:

    <HEAD>
    <style type="text/css">
    <!--
    .form-stuff {
    	font-family: Arial;
    	font-size: 10px;
    }
    -->
    </style>
    </HEAD>
    Code (markup):

    Now you just apply the style to your select and button like this:

    <HTML>
    <BODY>
    <p>Select Country or Region 
      <select name="select" class="form-stuff">
        <option>op one</option>
        <option>op two</option>
        <option selected>Select Country</option>
      </select>
    </p>
    <p>
      <input name="Search" type="submit" class="form-stuff" id="Search" value="Search">
    </p>
    </BODY>
    </HTML>
    Code (markup):
    Hope that helps :)
     
    missdanni, Oct 19, 2006 IP
  3. zchatila

    zchatila Well-Known Member

    Messages:
    212
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    135
    #3
    You didnt provide a lot of info, but there's a lot of great programs that do it automagically. Macromedia Dreamweaver, for example. You can also check out NVU or Coffee Cup software.
     
    zchatila, Oct 20, 2006 IP