How to increase fontsize javascript

Discussion in 'HTML' started by JL, Mar 3, 2009.

  1. JL

    JL Guest

    HI,

    when i write :

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

    OK but when i write :

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

    not works.

    Tanks for help.

    JL
     
    JL, Mar 3, 2009
    #1
    1. Advertisements

  2. JL

    JL Guest

    Ben C a écrit :

    Tanks for your answer. Its oK.
    JL
     
    JL, Mar 3, 2009
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.