RE: Re: Text sizing

Sam
Fri, 07 Jul 2006 15:48:22 -0000

-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]
On Behalf Of Ryan Gahl
Sent: Friday, July 07, 2006 9:58 AM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails-spinoffs] Re: Text sizing


A hack is nothing more than a creative solution, albeit short term and
subject to breaking under the changing terms of future environments. But,
then you as the creative solution engineer just find the new solution,
always looking for the possibility of a more long term fix but not afraid to
resort to black magic, general hackery, and other types of mysterious foo.

-Ryan Gahl, 2006

This is my hack, and I''m sticking to it...


body {
  font-size: 76%;
  }

if
(navigator.userAgent.indexOf(''Firefox'') >
-1) {document.body.style.fontSize = ''66%'';}

If anyone can shorten it a bit, thanks in advance.

Sam



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org