Thierry Koblentz wrote: > It seems that font-size and font-family are not inherited by these > input fields, hence why she suggests to always specify a font size > and family for those.
Browsers indeed generally have specific font-size and font-family defaults for text input fields. Conceptually, such defaults are rules in browser's default style sheet (in reasonably modern browsers), thus preventing any inheritance. Moreover, as the default font family is often something odd like Microsoft Sans Serif, typically deviating from the page's general appearance, and the default font size tends to be smaller than copy text size, the conclusion is appropriate. Moreover, multi-line text input fields (textarea elements) tend to have similar defaults, except that the default font family is usually monospace. Since there is seldom any good reason to use monospace font there, I'd recommend setting font-size and font-family for textarea as well. -- Yucca, http://www.cs.tut.fi/~jkorpela/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/