SitePoint Sponsor

User Tag List

Results 1 to 12 of 12

Thread: Odd font sizes

  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Odd font sizes

    I have set my font sizes to x-small but for some reason on one of my links the text is rendering as xx-small. There's nothing unusual about the code, everything is in simple <h1> and <p> tags, can anyone see what's wrong?

    This is the page with the smaller font size - http://www.hospicereviewni.org.uk/pressreleases.asp - browse all other pages and u will see the font size rendering as it should.

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    looks the same to me (Phoenix 0.5 on Win2k). what browser are you experiencing problems in ?
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's IE6, it looks ok from home, must be a proxy/caching problem

  4. #4
    :) Have a nice day! james34's Avatar
    Join Date
    Jun 2000
    Location
    KY, USA
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daz
    It's IE6, it looks ok from home, must be a proxy/caching problem
    I have had the same problems in IE6 while using CSS. I think it is an IE6 problem
    james34
    My Site

  5. #5
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's very bizarre. It's still happening today in work and even when I clear my cache out and do a hard refresh it makes no difference. As I said, I checked this at home last night and it was fine!

  6. #6
    :) Have a nice day! james34's Avatar
    Join Date
    Jun 2000
    Location
    KY, USA
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daz
    It's very bizarre. It's still happening today in work and even when I clear my cache out and do a hard refresh it makes no difference. As I said, I checked this at home last night and it was fine!
    You can denote font size in another way and see if it makes a difference. I am not sure if it will change anything or not. You have to play with the number before the px in the following code to get the correct size you are looking for. It might be worth a try.
    Code:
     A:link { font-family: Arial, Verdana, Sans-serif; font-size: 15px; }
    
    james34
    My Site

  7. #7
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use relative sizes hence the use of x-small, when I change it to small it increases to the size it should do but then all the other pages fonts go up one!

  8. #8
    :) Have a nice day! james34's Avatar
    Join Date
    Jun 2000
    Location
    KY, USA
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daz
    I use relative sizes hence the use of x-small, when I change it to small it increases to the size it should do but then all the other pages fonts go up one!
    Sorry I cannot see the problem. I will continue to look at the code and see if I can find anything wrong. At first look I do not see a problem. Maybe someone else will take a look for you.
    james34
    My Site

  9. #9
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think this may well be an IE6 problem. Anyone else I've asked to look at it and sees the same thing is using IE6.

  10. #10
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Problem solved! It was my doctype, when I reverted to 4.0 transitional instead of 4.01 transitional, then my font-size x-small worked fine. So this begs the question, if I want to use a 4.01 trans doctype and make my fonts relative in size, should I used percentages then?

  11. #11
    :) Have a nice day! james34's Avatar
    Join Date
    Jun 2000
    Location
    KY, USA
    Posts
    137
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daz
    Problem solved! It was my doctype, when I reverted to 4.0 transitional instead of 4.01 transitional, then my font-size x-small worked fine. So this begs the question, if I want to use a 4.01 trans doctype and make my fonts relative in size, should I used percentages then?
    I would definately give the percentages a try. Glad you found a solution.
    james34
    My Site

  12. #12
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'd suggest using em sizes...but yeh, each to their own
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


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
  •