473,394 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

font: menu?

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?
Feb 25 '06 #1
2 4152
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:

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.
Feb 25 '06 #2
Michael Winter wrote:
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:

[...]
-- 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.
Feb 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Topley | last post by:
Hi, I'm trying to create a pure CSS layout using DIVs. I have three DIVs (in one column) down the left hand side of my page, with a ten pixel vertical gap between each of them (the content is on...
4
by: cql60 | last post by:
Hi all, I have application was developed on Window XP, and the font I used for all the control in the form are "Monotype Corsiva". When the application run on Window 2000, The font look weird...
2
by: Stuart Norris | last post by:
Dear Group, I am new to c# and windows form designer - coming from a Motif background. I am attempting to develop an application for a touch screen and I need to have a menu system with a...
3
by: Dennis | last post by:
Is there any way to change the font size and bold for a form's menu without changing the system font? I am getting old and would like to have a larger menu font matching the font used in my form...
1
by: xx75vulcan | last post by:
Howdy! I've got a javascript menu that was handed to me. I believe it was hand coded- but not sure. I need to find a way to specify the font color and size of the menus. Currently, the menu...
53
by: Jonas Smithson | last post by:
In his book "CSS: The Definitive Guide" 2nd edition (pgs. 116-117), Eric Meyer has an interesting discussion about "font-size-adjust" that was evidently dropped in CSS 2.1 due to browser...
5
by: karen987 | last post by:
I have alist box, which has a standard font. I want to make it fit into a smaller column thus i need to change the font size, i'd like a font size 10, maybe in Verdana font. I tried using my CSS...
1
by: Noozer | last post by:
I would like the font used on one of my forms to match whichever font the user has selected in their display properties. For example, I want the font on my textboxes to match the "menu" font. I...
0
by: hathan | last post by:
I am new to programming and I need to create a program that changes the font type on the displayed text. To do this i must create a menu bar and have font as a choses next to file. I have generated a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.