Reply to Re: change fonts in input fields

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация