SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2006
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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



    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!

  2. #2
    Caveat surfer Buddy Bradley's Avatar
    Join Date
    May 2003
    Location
    Cambridge, UK
    Posts
    2,366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    input, select, textarea {
      font: 10pt Arial, sans-serif;
    }

  3. #3
    SitePoint Zealot detzX's Avatar
    Join Date
    Oct 2006
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just assign them a class and set the style correctly.
    input.search_button,input.country_dropdown{
    font-family:Arial;
    font-size:10pt;
    }

    <input type="submit" name="search" value=" Search " class="search_button" />

  4. #4
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Location
    Poland
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you mean this?
    PHP Code:
    <style type="text/css">
    textareainputselect {
      
    font-size10pt;
      
    font-familyarialsans-serif;
    }
    </
    style
    Or I did understand you wrong.

    [edit]
    detzX & Buddy Bradley - were first :/
    Tom.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •