HighDots Forums  

font: menu?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss font: menu? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Harlan Messinger
 
Posts: n/a

Default font: menu? - 02-25-2006 , 08:56 AM






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?

Reply With Quote
  #2  
Old   
Michael Winter
 
Posts: n/a

Default Re: font: menu? - 02-25-2006 , 09:18 AM






On 25/02/2006 14:56, Harlan Messinger wrote:

[snip]

Quote:
font: menu;
[snip]

Quote:
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>

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


Reply With Quote
  #3  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: font: menu? - 02-26-2006 , 08:00 PM



Michael Winter wrote:
Quote:
On 25/02/2006 14:56, Harlan Messinger wrote:

[snip]

font: menu;

[snip]

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

The following values refer to system fonts:
[...]

Quote:
-- 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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.