Ben,
I also use the same approach with CSS class. I've not had any cross-
browser problems so far.
Dawn
Hi
>
> I just define a CSS class and then assign it to the textarea:
>
> <textarea name="name" cols="40" rows="8" class="myclasshere"></textarea>
>
> It works in all browsers - is that a good approach because I'd like to
know
> myself!
>
> Cheers
>
> Ben
>
> -----Original Message-----
> From: Jason Lotito [mailto:jason@l...]
> Sent: 25 August 2001 13:08
> To: HTML Code Clinic
> Subject: [html_code_clinic] Re: TextArea - Font
>
>
> Embedding the following code in the header will make all <textarea>'s
> work the same way
>
> <style>
> textarea {
> font-family : System;
> }
> </style>
>
> Or you can do this
>
> <form name="chartest" method="post">
> Enter your text:
> <br>
> <div id="why_DRAG" style="font-family : System">
> <TEXTAREA NAME="txt" ROWS="20" COLS="70" WRAP=3D"Virtual">
> </TEXTAREA>
> </div>
> </form>
>
> The fact that you had 3D outside ever tag could have also had a factor.
>
> Jason Lotito - Webmaster and Owner, www.NewbieNetwork.net
> www.NewbieNetwork.net
> PHP Newsletter: http://www.newbienetwork.net/ciao.php
> The Job House: http://jobs.newbienetwork.net/
> Coming Soon: NewbieNetwork PHP Business Initiative
> PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more
>
> __________________________
> ----- Original Message -----
> From: pb@s...
> To: HTML Code Clinic
> Sent: Saturday, August 25, 2001 7:31 AM
> Subject: [html_code_clinic] TextArea - Font
>
>
> Hi
>
> How can I get TEXTAREA s to use a specific font ?
>
> The following snippet does not work (IE is all that I really care
> about - at the
> moment !!)
>
>
>
>
> <form name=3D"chartest" method=3D"post">
> Enter your text:
> <br>
> <div id=3D"why_DRAG" style=3D"font-family:symbol">
> <TEXTAREA NAME=3D"txt" ROWS=3D"20" COLS=3D"70" WRAP=3D"Virtual">
> </TEXTAREA>
> </div>
> </form>
>
>
>
> Thank you in anticipation (I hope)
> Pete (Northolt UK)
>
>