Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to increase fontsize javascript

Reply
Thread Tools

How to increase fontsize javascript

 
 
JL
Guest
Posts: n/a
 
      03-03-2009
HI,

when i write :

document.getElementById('nom_bateau').style.fontSi ze ='100px';

OK but when i write :

document.getElementById('nom_bateau').style.fontSi ze ='taille&"px"';

not works.

Tanks for help.

JL
 
Reply With Quote
 
 
 
 
JL
Guest
Posts: n/a
 
      03-03-2009
Ben C a écrit :
> On 2009-03-03, JL <(E-Mail Removed)> wrote:
>> HI,
>>
>> when i write :
>>
>> document.getElementById('nom_bateau').style.fontSi ze ='100px';
>>
>> OK but when i write :
>>
>> document.getElementById('nom_bateau').style.fontSi ze ='taille&"px"';
>>
>> not works.
>>
>> Tanks for help.

>
> What made you think it would work?
>
> style.fontSize = taille + "px";
>
> is more the sort of thing you want.



Tanks for your answer. Its oK.
JL
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to increase the Fontsize in a JLable or on a JButton ? Tom Parson Java 12 01-11-2006 04:51 PM
How to set the fontsize of labels in Applets Tushar Java 1 02-14-2005 08:50 AM
HTML Literal Control & FontSize Veeresh ASP .Net 2 06-28-2004 07:08 PM
fontsize/stylesheet problem =?Utf-8?B?ZnJlZA==?= ASP .Net 0 06-09-2004 08:56 AM



Advertisments