SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2006
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question newbie question: how to change the default font of my webpage to arial???

    hi, may i know how to change the default font of my webpage to arial???

    it is using times new roman now and i don't know where to change it..


    thanks!
    newbie...really need your guidance......

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Put this into your stylesheet:
    Code:
    body {
        font-family: Arial, sans-serif;
    }

  3. #3
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,117
    Mentioned
    28 Post(s)
    Tagged
    2 Thread(s)
    Personally I use font-family:Arial, Verdana, Helvetica, sans-serif; (the dreamweaver default)
    To give more options that should look a little nicer under more circumstances..

    Not that there is anything wrong with Dan's solution

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2006
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Schulz View Post
    Put this into your stylesheet:
    Code:
    body {
        font-family: Arial, sans-serif;
    }

    how if i not using style sheet?
    newbie...really need your guidance......

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Then you can use CSS to insert it inline in your BODY tag, but this is really NOT the best way to do it:
    HTML Code:
    <body style="font-family: Arial, sans-serif;">
    ... (this is just a placeholder for your Web page's content)
    </body>


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
  •