::Stuff for the multi-spec coder;

Coding, formats, standards, and other practical things.

 Home  //  CSS  //  font 

<!-- CSS 2.1 Reference

Property Name: font


Default Value: see individual properties
Inherited: yes
Possible values directly from the standard:
[ [ 'font-style' and/or 'font-variant' and/or 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ], caption, icon, menu, message-box, small-caption, status-bar, inherit

Property Description:

This is the shorthand property that defines the multiple font-related properties. These include: font-style, font-variant, font-weight, font-size, line-height, and font-family. If a property is omitted, the default value (of that property) will be used for that property. Values are separated by spaces, while the values within the font-family property are separated by commas. The line-height property value must appear after the font-size value, and separated by a forward slash ( / ) character. CSS specifies additional 'derived' named values that may be used, which include caption, icon, menu, message-box, small-caption, and status-bar, which derive the font qualities from the names browser element. Support for these values is inconsistent, and should be avoided.


Example:

.my_font { font: italic bold 1.5em/2 "Times New Roman", Times, serif; }


Complete CSS Property Listing:
background-attachment, background-color, background-image, background-position, background-repeat, background, border-collapse, border-color, border-spacing, border-style, border-top, border-right, border-bottom, border-left, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top-style, border-right-style, border-bottom-style, border-left-style, border-top-width, border-right-width, border-bottom-width, border-left-width, border-width, border, bottom, caption-side, clear, clip, color, content, counter-increment, counter-reset, cursor, direction, display, empty-cells, float, font-family, font-size, font-style, font-variant, font-weight, font, height, left, letter-spacing, line-height, list-style-image, list-style-position, list-style-type, list-style, margin-top, margin-right, margin-bottom, margin-left, margin, max-height, max-width, min-height, min-width, outline-color, outline-style, outline-width, outline, overflow, padding-top, padding-right, padding-bottom, padding-left, padding, position, quotes, right, table-layout, text-align, text-decoration, text-indent, text-transform, top, unicode-bidi, vertical-align, visibility, white-space, width, word-spacing, z-index














Looking for the old guiStuff?

It's still here, the old content didn't go anywhere.