www.webdeveloper.com
Results 1 to 6 of 6

Thread: setting the font face,size using the td style property

  1. #1
    Join Date
    Jan 2003
    Location
    Israel
    Posts
    1,381

    setting the font face,size using the td style property

    how do i set the font face,size using the td style property?
    WebCssDesign
    Israel the best place to leave in = after Heaven

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    The below will affect all the TDs
    Code:
    <style type="text/css">
    td {
        font-family: Verdana, Arial, sans-serif;
    }

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

  3. #3
    Join Date
    Nov 2002
    Posts
    2,632
    Do you want to define it for all of your <td> tags? Here's how.

    In your <head> tag.

    <style type="text/css">
    <!--
    td { font-family:Arial, Helvetica, Verdana, sans-serif; font-size:100%; }
    -->
    </style>

    http://www.w3schools.com/css/css_reference.asp#font
    Last edited by spufi; 10-23-2003 at 11:27 AM.

  4. #4
    Join Date
    Feb 2003
    Location
    Wales, UK
    Posts
    3,147
    Spufi - you've missed a few characters out in your font names. It might be a good idea to edit them in case someone copies and pastes...
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.


    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

  5. #5
    Join Date
    Nov 2002
    Posts
    2,632
    What's funny is that I originally grabbed that code from a well known quality source in terms of CSS. Let's hope they fixed their's by now too.

  6. #6
    Join Date
    Feb 2003
    Location
    Wales, UK
    Posts
    3,147
    LOL - I wonder who that was..
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.


    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles