HTML and CSS Reference
In-Depth Information
Attribute
Description
overflow-style: type
Specifies the preferred scrolling method for overflow content,
where type is auto, marquee-line, or marquee-block (CSS3)
overflow-x: type
Instructs the browser how to handle content that overflows the
element's width, where type is auto, inherit, visible, hidden, or
scroll (IE only)
overflow-y: type
Instructs the browser on how to handle content that overflows the
element's height, where type is auto, inherit, visible, hidden, or
scroll (IE only)
text-overflow: type
Instructs the browser on how to handle text overflow, where type
is clip (to hide the overflow text) or ellipsis (to display the … text
string) (IE only)
visibility: type
Defines the element's visibility, where type is hidden, visible,
or inherit
width: length
Specifies the width of the element in one of the CSS units
of length
Fonts and Text
Styles that format the appearance of fonts and text
color: color
Specifies the color of the element's foreground (usually the
font color)
direction: type
Specifies the direction of the text flow, where type equals ltr, rtl,
or inherit (CSS3)
font: style variant weight
size/line-height family
Defines the appearance of the font, where style is the font's style,
variant is the font variant, weight is the weight of the font, size is
the size of the font, line-height is the height of the lines, and family
is the font face; the only required attributes are size and family
font-effect: type
Controls the special effect applied to glyphs where type is none,
emboss, engrave, or outline (CSS3)
font-emphasize: emphasize
position
Sets the style of the font emphasis and decoration (CSS3)
font-emphasize-position:
position
Sets the font emphasis position, where position is before or
after (CSS3)
font-emphasize-style:
style
Sets the emphasis style, where style is none, accent, dot, circle, or
disc (CSS3)
font-family: family
Specifies the font face used to display text, where family is
sans-serif, serif, fantasy, monospace, cursive, or the name of an
installed font
font-size: value
Specifies the size of the font in one of the CSS units of length
font-size-adjust: value
Specifies the aspect value (which is the ratio of the font size to the
font's ex unit height) (CSS3)
font-smooth: type
Specifies the type of font smoothing, where type is auto, never,
always, or a specified size (CSS3)
font-stretch: type
Expands or contracts the font, where type is narrower, wider, ultra-
condensed, extra-condensed, condensed, semi-condensed, normal,
semi-expanded, extra-expanded, or ultra-expanded (CSS3)
font-style: type
Specifies a style applied to the font, where type is normal, italic, or
oblique
font-variant: type
Specifies a variant of the font, where type is inherit, normal, or
small-caps
font-weight: value
Defines the weight of the font, where value is 100, 200, 300, 400,
500, 600, 700, 800, 900, normal, lighter, bolder, or bold
Search WWH ::




Custom Search