![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am trying to set some style, simeple ones, for some form fields and I don;t seem to get it working. in css file: .FormField { font-size:x-small; font-family: Verdana, Arial, Helvetica, sans-serif; } |
|
in the form: td><input class="FormField" maxlength="75" value="" name="phone"></td |
#3
| |||
| |||
|
|
ashkaan57 (AT) hotmail (DOT) com wrote: Hi, I am trying to set some style, simeple ones, for some form fields and I don;t seem to get it working. in css file: .FormField { font-size:x-small; font-family: Verdana, Arial, Helvetica, sans-serif; } Drop that, and use the following: input { font-size: 100%; font-family: Arial, Helvetica, sans-serif; } But use the font-family only if you want it different than the family assigned to the <body> element. x-small is way smaller than I can read. Set it to 100%, and dump the Verdana from your site. http://www.xs4all.nl/~sbpoley/webmatters/verdana.html If it looks too large in *your* browser, set your own defaults to something smaller; don't penalize your visitors. in the form: td><input class="FormField" maxlength="75" value="" name="phone"></td td><input maxlength="75" value="" name="phone"></td No other code is necessary. -- -bts -Warning: I brake for lawn deer |
![]() |
| Thread Tools | |
| Display Modes | |
| |