Results 1 to 5 of 5

Thread: font question

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    font question

    Code:
    <html>
    <h1>Heading</h1>
    <p>Hello</p>
    <html>
    how do i make the font of 'hello' tahoma, size 9?

    and also, can someone show me how to do hyperlinks

  2. #2
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    Re: font question

    Fonts:
    HTML Code:
    <p><font size="9" face="Tahoma">Hello</font></p>
    Link:
    HTML Code:
    <a href="./mylocation.html">Link Title</a>
    You need to make sure you include Body Tags as well, so it should look like,
    HTML Code:
    <html>
    <body>
    <p><font size="9" face="Tahoma">Hello</font></p>
    </body>
    </html>
    Don't Rate my posts.

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: font question

    Moved to the HTML Forum
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    Re: font question

    thanks but when i do

    <font size="8" face="Tahoma">

    the font goes huge

  5. #5
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    Re: font question

    Ohh.. right, sorry, CSS has corrupted me. size can be from 1 to 7 (one smallest) and the default is 3. So to get an 8pt font you would need to set it too "2" I think from memory.

    If you really want to specify it in 'points' (ie like Word has it) then you need to use CSS, <span style="font-family:Tahoma;font-size:8pt">My Words</span>
    Don't Rate my posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width