Results 1 to 6 of 6
  1. #1
    4 Star Lounger
    Join Date
    Jul 2006
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    I am having problems changing the font size on the attached to size 1.

    Any help would be appreciated
    Attached Files Attached Files

  2. #2
    4 Star Lounger
    Join Date
    Jul 2006
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i also noticed the size on some of the fonts is different to others?
    i.e. the words space.

    any help would be appreciated.

  3. #3
    4 Star Lounger
    Join Date
    Jul 2006
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this is the style shet l am using:



    BODY {
    color: #DEB887;
    background-color: #ffffd0;
    font-family: Verdana, sans-serif;
    font-size: medium;
    }


    A {
    color: #0002CA;
    text-decoration: none;

    }

    A:HOVER {
    font-weight: 300;
    color: #DC143C;
    text-decoration: underline;
    }

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Don't try to wrap <font> tags around a <table> or <tr>. Everything should be inside a table cell (<th> or <td>), or it may be overridden by the browser's default styles.

    In this case, your <tr> elements have a class of "unnamed1" so you can leverage that in your style sheet. Try this rule:

    Code:
    .unnamed1 td {font-size:x-small;}
    If x-small is too large, try xx-small or one of the many other possible units of measure allowed by CSS.

  5. #5
    4 Star Lounger
    Join Date
    Jul 2006
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jscher2000 View Post
    Don't try to wrap <font> tags around a <table> or <tr>. Everything should be inside a table cell (<th> or <td>), or it may be overridden by the browser's default styles.

    In this case, your <tr> elements have a class of "unnamed1" so you can leverage that in your style sheet. Try this rule:

    Code:
    .unnamed1 td {font-size:x-small;}
    If x-small is too large, try xx-small or one of the many other possible units of measure allowed by CSS.

    Hello,

    I am still confused as know little of css and html. please can you explain in simple terms as to what l need to do in order change font size to 1.

    Below is the style sheet l am using and attached is the file where l require font size to be 1 in all all browsers.[attachment=88182:my_favourites.htm]

    BODY {
    color: #DEB887;
    background-color: #ffffd0;
    font-family: Verdana, sans-serif;
    font-size: small;
    }


    A {
    color: #0002CA;
    text-decoration: none;

    }

    A:HOVER {
    font-weight: 300;
    color: #DC143C;
    text-decoration: underline;
    }
    Attached Files Attached Files

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Try adding this at the end of your style sheet:

    Code:
    body, p, td, li {font-size:1}

Posting Permissions

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