[thelist] Textarea CSS Problem

James Aylard evolt at pixelwright.com
Wed Apr 28 12:04:55 CDT 2004


russgri at xarahost.com wrote:

> use:
> font: tahoma normal 1em #66666;

    This is invalid. The color value is invalid for two reasons: it is not
part of the font shorthand property [1], and it has the wrong number of
digits (a hex value should be either three characters or six characters,
preceded by a hash mark -- although I assume your missing digit is just a
typo) [2]. Instead, the color of the text may only be set by using the color
property. Additionally, your order of values is invalid. Instead, it should
be written as:

font-weight font-size font-family

    So, the correct presentation is:

font: normal 1em Tahoma ;
color: #666666 ;

1. http://www.w3.org/TR/1998/REC-CSS2-19980512/fonts.html#font-shorthand
2. http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html#value-def-color

James Aylard



More information about the thelist mailing list