Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10

Thread: Window Fonts

  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Window Fonts

    Hi All,

    I know this has been ask 10000times before..
    My web site looks fine in small font if user is using Small Fonts, but is totally screwed up if user is using Large Fonts. I have read in some forums that there is no solution to this problem, but i am having hard time to acknowledge that. Is there any way to detect what fonts user is using? Or any other way to solve this problem.


    TIA

    Monty

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Simple Use stylesheets to define the font size. The font will stay the same size no matter what text size the users have their browsers set to

    <style>
    body{
    font-size:10px;
    }
    </style>

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Iowa / Notre Dame
    Posts
    538
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have heard, though, that using something like:

    font-size: 12px

    is bad because even though it may look nice on 800x600 and even 1024x768, once you get into the big LCD screens that have native resolutions at around 1600x1200 it is almost imporible to read 12px font. Anyone encountered this problem? Just thought i may as well ask...even though I usually use pixels for font sizes !
    My Site {Mike's Adventures}

    Yikes, forums are almost too much fun.

  • #4
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks For Your Reply Nightfire
    But that didn't helped.
    My website address is www.saswin.com.

    Maybe i am doing something wrong.

    Monty

  • #5
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    You forgot to change this:

    .sasfont
    {
    FONT-FAMILY: MS Sans Serif;
    font-size:xx-small;
    COLOR:#336699;
    white-space: normal;
    line-height: normal ;
    }

  • #6
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    You forgot to change this:

    Thanx once again in taking intrest Nightfire...

    .sasfont
    {
    FONT-FAMILY: MS Sans Serif;

    font-size:xx-small; --> was 10px earlier, i was just messing with it.
    Anyway i changed it and still won't work.

    COLOR:#336699;
    white-space: normal;
    line-height: normal ;
    }

    font-size:xx-small; --> was 10px earlier, i was just messing with it.
    Anyway i changed it and still won't work.

    I would really appriciate if you can help me resolve this problem.

    Thanx Once Again

    Monty

  • #7
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Seems to be working ok for me.

  • #8
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    NightFire

    U want font-size to be 10px or should i erase it?
    I will upload this page once i change to whatever suggestion u give. That way u can see for u'r self if it works or not.

    (a) or (b) ??

    a)
    .sasfont
    {
    FONT-FAMILY: MS Sans Serif;
    COLOR:#336699;
    white-space: normal;
    line-height: normal ;
    }

    b)
    .sasfont
    {
    FONT-FAMILY: MS Sans Serif;
    font-size:10px;
    COLOR:#336699;
    white-space: normal;
    line-height: normal ;
    }

    Thanks

    Monty

  • #9
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    If you leave it as it is, the one already uploaded. That's working fine for me. I tried smallest and largest text view and nothing moved out of place

  • #10
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And u have set your font by
    right clicking on desktop->Properties->Settings->Advance..->And changing the font size there and not in u'r browser by goint to
    View->Text Size

    Dude if it looks fine on u'r browser then i guess m out of luck
    But thanx bud for your time..

    Monty


  •  

    Posting Permissions

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