How to change the font in a textarea?
Solved
Jew
Posted messages
6
Status
Member
-
RufusLeLong -
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
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
-
-
-
-
-
-
<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!
-