RE: Text sizing

Sam
Wed, 05 Jul 2006 20:13:33 -0000

It''s been a while since I''ve researched pts, but I had to toss
them years
ago.  Something about browser differences in rendering pts.

IE will fix fonts when px are used.  It''s out.

Seems like ems or % are the available choices, but no setting will give you
what you want / need.

Which is why I''m thinking there ought to be a JavaScript to do the job.
I''ll look around  for one, then try to write one if nothing is out
there.

Sam


-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Andrew
Kaspick
Sent: Wednesday, July 05, 2006 1:49 PM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails-spinoffs] Text sizing


I didn''t see any reference to using pt for fonts.  I use pt for most
of my fonts and sizes seem the same across browsers.  Is there some
big bad reason for not using pt for fonts that I''m unaware of?

On 7/5/06, Sam <sam.google-Uc2IQQBAS6sAvxtiuMwx3w@public.gmane.org>
wrote:
>
>
>
> I''ve had to worry about how different browsers render different
screen
sizes
> for text for years.  I don''t want to use "px" for
font-size as IE will
> cripple the browsers "VIEW, Text Size" control.  We need to keep
the
> text-size browser control fully operational for accessibility and
usability.
>  At the same time, we want text-laden pages to render
"approximately" the
> same across all browsers on page load, normal text-viewing-size.
>
> My reference on the subject has been the work of Owen Briggs:
>
> http://www.thenoodleincident.com/tutorials/box_lesson/font/index.html
>
> This work gets close, but for my purposes, it could be improved.  Firefox
> will always renders text noticeably larger  than IE and these are the two
> most significant browsers in our user base.  The page layouts differ more
> than I would like.
>
> Using JavaScript, it might be possible to get a better match in IE and
> Firefox text-size by detecting the browser type and setStyle on the body
> {font-size: value} to a browser-specific setting such that the
"normal"
> rendering size was the same across all browsers.
>
> Before I go off and invent the wheel again; has anyone seen anything like
> this done elsewhere?
>
> Sam
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
>
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org