Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / February 2006



Tip: Looking for answers? Try searching our database.

font: menu?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Harlan Messinger - 25 Feb 2006 14:56 GMT
In reviewing an off-the-shelf Web-browser-based application, I found the
following font setting in several places among the default CSS files:

font: menu;

I can't imagine the designers thought that anyone would have a font
called "menu" on their computers, and "menu" isn't one of the standard
font-family values like serif or monotype. Is this somewhere else in the
standard, or do any of you know a platform that defines an extension
like this?
Michael Winter - 25 Feb 2006 15:18 GMT
[snip]

> font: menu;

[snip]

> Is this somewhere else in the standard [...]?

  The following values refer to system fonts:

  caption
    The font used for captioned controls (e.g., buttons,
    drop-downs, etc.).
  icon
    The font used to label icons.
  menu
    The font used in menus (e.g., dropdown menus and menu lists).
  message-box
    The font used in dialog boxes.
  small-caption
    The font used for labeling small controls.
  status-bar
    The font used in window status bars.

  System fonts may only be set as a whole; that is, the font
  family, size, weight, style, etc. are all set at the same time.

       -- 15.2.5 Shorthand font property: the 'font' property[1],
          CSS 2 Specification

Mike

[1] <http://www.w3.org/TR/REC-CSS2/fonts.html#font-shorthand>

Signature

Michael Winter
Prefix subject with [News] before replying by e-mail.

Harlan Messinger - 27 Feb 2006 02:00 GMT
> [snip]
>
[quoted text clipped - 5 lines]
>
>   The following values refer to system fonts:
[...]

>        -- 15.2.5 Shorthand font property: the 'font' property[1],
>           CSS 2 Specification

Oh, for some reason it didn't occur to me to look elsewhere than under
font-family, because I thought I already knew all the components of the
"font" shorthand property. Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.