how to preset the default font size for a web page?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default how to preset the default font size for a web page?

    Hi,

    How can I set my default display font size, type for a web page, or a
    <table>?
    I dont want to write <font size=....> everywhere, especially inside each
    <td>.

    I know this is HTML question, kindly please help to tell me.

    Thanks
    Michael



    Michael Guest

  2. Similar Questions and Discussions

    1. Default font size increases
      One section at a time, I'm converting to templates for use with Contribute. After changing, some pages of the section have started using a default...
    2. Default Page Size in v8 for pc
      Somehow I now get a metric envelope size as the default page size (DL Env 110x220mm) instead of the usual 'letter' page size. Have reselected...
    3. Can headers and footers have default font style and size
      Is there a way to set a default font style and size for headers and footers in Acrobat 6.0.1 so that they do not have to be reselected every time?
    4. Change default font and text size
      I would like to change the defult text size from 24 to something else for all new documents that I open. How can I do that without having to create a...
    5. Default Browser font size?
      Can anyone tell me what the default font size (in points) in the Preferences/Option is for Netscape and Explorer - Windows and Mac?? I'm trying...
  3. #2

    Default Re: how to preset the default font size for a web page?

    <head>
    <style>
    td{font-size:10px;font-family:arial,helvetica,sans-serif;}
    </style>
    </head>

    now everything inside a td will have a font size of 10pixels (very small)
    the font-family attribute sets the face, note theres three here

    mark

    "Michael" <vbado2003@yahoo.com.sg> wrote in message
    news:uQYMgFMXDHA.2352@TK2MSFTNGP12.phx.gbl...
    > Hi,
    >
    > How can I set my default display font size, type for a web page, or a
    > <table>?
    > I dont want to write <font size=....> everywhere, especially inside each
    > <td>.
    >
    > I know this is HTML question, kindly please help to tell me.
    >
    > Thanks
    > Michael
    >
    >
    >

    mark | r Guest

  4. #3

    Default Re: how to preset the default font size for a web page?

    Use CSS. Ideally a LINKed CSS.

    Try [url]www.w3schools.com/css/[/url] for a tutorial.


    In the CSS, include one of the following definitions:

    body { font-size: 85%; }

    or

    body { font-size: 0.9em; }

    or

    body { font-size: x-large; }

    Notes: You can set the font-size to be x number of pixels but this is bad
    from an accessibility point of view. The above options all allow the user to
    resize the text using browser settings. In most browsers, using explicit
    pixel sizes prevents this.

    Also Mac users often see smaller text than Windows users:
    [url]http://db.tidbits.com/getbits.acgi?tbart=05284[/url]

    hth,

    Chris


    CJM Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139