View Full Version : Window Fonts
Monty
09-03-2002, 10:09 PM
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:confused:
Nightfire
09-03-2002, 11:10 PM
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>
pardicity3
09-03-2002, 11:46 PM
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;) !
Monty
09-03-2002, 11:53 PM
Thanks For Your Reply Nightfire
But that didn't helped.
My website address is www.saswin.com.
Maybe i am doing something wrong.
Monty:confused:
Nightfire
09-03-2002, 11:58 PM
:) You forgot to change this:
.sasfont
{
FONT-FAMILY: MS Sans Serif;
font-size:xx-small;
COLOR:#336699;
white-space: normal;
line-height: normal ;
}
Monty
09-04-2002, 02:49 PM
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
Nightfire
09-04-2002, 04:03 PM
Seems to be working ok for me.
Monty
09-04-2002, 04:14 PM
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 :confused:
Nightfire
09-04-2002, 04:17 PM
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 :)
Monty
09-04-2002, 04:33 PM
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
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.