|
Posted by Jukka K. Korpela on 03/12/07 18:49
Scripsit Desmond:
> Is it possible to change the font in an input type=text and a textarea
Yes. And yes to the repeated question, too. :-)
Put the following into your <head>:
<style type="text/css">
input { font: 100% Courier New, monospace; }
textarea { font: 100% Arial, sans-serif; }
</style>
This defeats bad browser defaults (reduced font size, and monospace font
where the user suffers from it but not where he might benefit from it).
With the usual CSS Caveats of course.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|