[Javascript] Changing the font of all elements on a page

Paul Cowan dagda1 at hotmail.com
Thu Nov 25 11:06:30 CST 2004


Flavio,

I am very aware of stylesheets.

It's a complex problem needing me to change font-size on the browser and not 
when the page is rendered.

OK let me simplify the question.

How do I change the font-size in an element.

I'd rather not change the element element class name

i.e. element.style.class = 'differentFont';

Any ideas



dagda1 at hotmail.com




>From: Flavio Gomes <flavio at economisa.com.br>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: Re: [Javascript] Changing the font of all elements on a page
>Date: Thu, 25 Nov 2004 14:04:20 -0200
>
>
>Dinamically?
>
>    If not you can try researching on CSS Style Sheets.
>
>--
>Flavio Gomes
>flavio at economisa.com.br
>
>Paul Cowan wrote:
>
>>Hi all,
>>
>>Is anyone aware how I can change of all the input tags on a page??
>>
>>Thanks
>>
>>Paul
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list