How to change the font in a textarea?

Solved
Jew Posted messages 6 Status Member -  
 RufusLeLong -
Hello,

I'm wondering how to change the writing style in a textarea so that it matches the style in input fields.
Just like on this forum..

Thank you in advance
Configuration: Windows XP Firefox 2.0.0.11

1 answer

  1. Jew Posted messages 6 Status Member 1
     
    It's all good, I found it.. thanks anyway.
    -3
    1. Kafi
       
      I can't find it myself!
      0
    2. anonyme
       
      Thank you for the solution...
      0
    3. anonyme
       
      <TEXTAREA style="FONT-SIZE: 12pt; WIDTH: 700px; height:40px; FONT-FAMILY: Verdana" rows=5 >One of the many solutions... </TEXTAREA>
      0
    4. Lamalas Posted messages 35 Status Member 1
       
      Would it be possible to enlighten us on the solution(s)?

      Personally, I know that there are widgets that allow it, like the formatting buttons found for this text block (on the forum).

      See: http://www.commentcamarche.net/faq/sujet 10000 rich text format editors
      --

      Best regards, Lamalas.
      0
    5. RufusLeLong
       
      <style type="text/css">

      .zob
      {
      font-family:"Courier New", Courier, monospace;
      font-size:14px;
      }
      </style>


      <textarea class="zob" rows="20" cols="30">
      Your text here
      </textarea>


      For example...

      The principle is to define in the CSS of your textarea the font characteristics using the "font-family" command and possibly modify its size using "font-size".

      Enjoy!
      0