Aptana Studio ƒwƒ‹ƒv > Reference > CSS > CSS Elements

legend

Defines a legend for the fields on a form.

Platform Support

IE Netscape Mozilla Opera Safari
4.0+ 6.0+ 1.0+ 4.0+ 1.0+

Example

This example adds a border and padding around a form legend:


legend {
        border-color: black;
        border-style: solid;
        border-width: thin;
        padding: 3px;
}

Remarks

In addition to <fieldset> </fieldset>, <label> </label>, and <legend> </legend> elements, you can use <table> </table> and <div> </div> elements to improve the layout of a form.

Property Detail

Property IE Netscape Mozilla Opera Safari
accelerator
["true" | "false"]
Specifies whether or not the element has an accelerator key, which is a shortcut for selecting the element.
5.5+ no no no no
 
azimuth
Example values: 270deg, 180deg, far-left, etc.
Specifies the speaker balance for audio content.
no no no no no
 
background
[color] [url(image-url) | "none"] [attachment] [position] [repeat]
Defines the background properties for an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
background-attachment
["scroll" | "fixed"]
Specifies whether or not the background image is fixed or scrollable as a user scrolls the document.
5.0+ 6.0+ 1.0+ 4.0+ 1.0+
  • IE: IE uses the value "local" instead of "scroll".
background-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the background color for the element. Specify either a color name or RGB color code.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
background-image
[url(image-url) | "none" ]
Specifies the URL for a background image for an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
background-position
Example values: 50px 50px, 10% 5%, 2cm 4cm, 2cm 5%, center, etc.
Specifies the position of a background image for an element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
background-position-x
[length | percentage | horziontal-alignment]. Example values: 50px 50px, 10% 5%, 2cm 4cm, 2cm 5%, center, etc.
Specifies the x-position of a background image for an element.
5.0+ no no no 1.2+
 
background-position-y
[length | percentage | vertical-alignment]. Example values: 50px 50px, 10% 5%, 2cm 4cm, 2cm 5%, center, etc.
Specifies the y-position of a background image for an element.
5.0+ no no no 1.2+
 
background-repeat
[repeat-value]
Specifies how a background image repeats for an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
border
[color] [style] [width]
Defines the border properties for an element.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
  • IE: IE does not support borders on table columns.
border-bottom
[color] [style] [width]
Defines the properties for the bottom border for the element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
border-bottom-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for a bottom border. Specify either a color name or RGB color code.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-bottom-style
[border-style]
Specifies a style for a bottom border.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-bottom-width
Example values: 2px, 0.25in, thin, etc.
Specifies the width of the bottom border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
border-collapse
[collapse-style-value]
Specifies whether the borders for an element are collapsed or separated.
5.0+ 6.0+ 1.0+ 5.0+ 1.2+
  • IE: In IE 5, 6, and 7, border-collapse: collapse does not overrule cellspacing.
border-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for the borders for an element. Specify either a color name or RGB color code.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
border-left
[color] [style] [width]
Defines the properties for the left border for the element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
border-left-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for a left border. Specify either a color name or RGB color code.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-left-style
[border-style-value]
Specifies a style for a left border.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-left-width
[width-value | length] Example values: 2px, 0.25in, thin, etc.
Specifies the width of the left border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
border-right
[color] [style] [width]
Defines the properties for the right border for the element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
border-right-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for a right border. Specify either a color name or RGB color code.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-right-style
[border-style-value]
Specifies a style for a right border.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-right-width
Example values: 2px, 0.25in, thin, etc.
Specifies the width of the right border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
border-spacing
[spacing-horizontal] [spacing-vertical]
Specifies the number of pixels between the border and its contents.
no 6.0+ 1.0+ 5.0+ 1.2+
 
border-style
[border-top-style] [border-right-style] [border-bottom-style] [border-left-style]
Specifies a style for a border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
border-top
[color] [style] [width]
Defines the properties for the top border for the element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
border-top-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for a top border. Specify either a color name or RGB color code.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-top-style
[border-style-value]
Specifies a style for a top border.
4.0+ 6.0+ 1.0+ 7.0+ 1.0+
 
border-top-width
Example values: 2px, 0.25in, thin, etc.
Specifies the width of the top border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
border-width
[border-top-width] [border-right-width] [border-bottom-width] [border-left-width]. Example values: 2px 4px 2px 4px, 0.25in 05.in, thin, etc.
Specifies the width of the border.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
bottom
[percentage | length | "auto"]. Example values: 20%, 400px, auto, etc.
Specifies the y-coordinate for the position of the element relative to the bottom edge of the parent element or browser window.
5.0+ 6.0+ 1.0+ 5.0+ 1.0+
 
caption-side
[position-value]
Specifies the position of a caption for the element.
no 6.0+ 1.0+ 6.0+ 1.0+
  • Mozilla: Only Mozilla supports the values "left" and "right".
clear
[position-value]
Specifies the position of the element relative to a floating object on the page.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
clip
[rect(top-value right-value bottom-value left-value)]. Example values: rect(10px 25px 25px 10px).
Specifies the x- and y-coordinates (in pixels) for the clipping rectangle around the element.
4.0+ 6.0+ 1.0+ 5.0+ 1.0+
 
color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the text for the element. Specify either a color name or RGB color code.
3.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
content
[url(image-url) | quote-style-value]. Example values: url(images/bluestar.gif), "Chapter: ", open-quote, etc.
Specifies the content to insert before or after the element.
no 6.0+ 1.0+ 7.0+ 1.0+
 
counter-increment
[counter-name] [increment]. Example values: countby2 2, chapter, countbackwards -1, etc.
Specifies a name of a counter and how much to increment the counter by.
no no no 7.0+ no
 
counter-reset
[counter-name] [reset-value]. Example values: chapter-subhead 0, chapter 1, etc.
Resets a counter to the specified value.
no no no 7.0+ no
 
cue
[url(sound-before-url)] [url(sound-after-url)]
Defines the properties for an aural cue before or after an element.
no no no no no
 
cue-after
[url(sound-url)]
Defines the properties for an aural cue after an element.
no no no no no
 
cue-before
[url(sound-url)]
Defines the properties for an aural cue before an element.
no no no no no
 
cursor
[cursor-value | url(cursor-url)]. Example values: url(mycursor.cur), hand, etc.
Specifies which cursor to display when a user mouses over the element.
5.0+ 6.0+ 1.0+ 7.0+ 1.3.2+
  • Safari: Supports all W3C cursor values except for progress.
direction
[left-to-right | right-to-left]
Specifies the text direction for the element.
5.0+ 6.0+ 1.0+ no 1.0+
 
display
[display-type-value]
Specifies how to display the element.
5.0+ 4.0+ 1.0+ 5.0+ 1.3.2+
  • IE: Support on IE 5/6 is incomplete. Support is almost complete on IE 7, beta 3. Compatibility depends only on the values block, inline, none, inline-block, and list-item.
  • Mozilla: Support on Firefox is incomplete. Compatibility depends only on the values block, inline, none, inline-block, and list-item.
elevation
Example values: 90deg, 60deg, level, etc.
Specifies the elevation of the element. You can either one of the relative elevations or specify an angle in degrees.
no no no no no
 
empty-cells
["show" | "hide"]
Specifies whether to show or hide borders for empty table cells.
no 6.0+ 1.0+ 5.0+ 1.2+
 
filter
[filterNameA (parameter1A, parameter2A, ...)] [filterNameB (parameter1B, parameter2B, ...)]
Specifies a filter for the element to render and any parameters that the filter takes. You can specify multiple filters.
4.0+ no no no no
 
float
["left" | "right" | "none"]
Specifies if an element should float towards the left or right margin of its parent element or web browser.
4.0+ 4.0+ 1.0+ 6.0+ 1.0+
 
font
[font-family] [font-size] [font-size-adjust] [font-stretch] [font-style] [font-variant] [font-weight]
Defines the properties for the font for the element.
3.0+ 4.0+ 1.0+ 6.0+ 1.0+
 
font-family
Example values: monospace, "Arial, Helvetica, sans-serif", Helvetica, etc.
Specifies the font face for the element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
font-size
Example values: 12pt, 2em, 24px, small, 50%, etc.
Specifies either the explicit or relative size of the font compared to the base font size.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
font-size-adjust
[number | "none"]
Specifies the adjustment to make in font size if an explicitly specified font is unavailable.
no no no no no
 
font-stretch
[font-stretch-value]
Specifies how a font should be condensed or stretched.
no no no no no
 
font-style
["normal" | "italic" | "oblique"]
Specifies a style for a font (e.g. italic).
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
font-variant
["normal" | "small-caps"]
Specifies a variation for a font (e.g. small-caps).
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies the weight of a font (e.g. bold).
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
height
Example values: 100px, 50%, etc.
Specifies the height (in pixels, points, or as a percentage) of the content of the element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies the state of the Input Method Editor (IME) for the element, which allows users to enter and edit Chinese, Japanese, and Korean characters.
5.5+ no no no no
 
Specifies the flow direction for the content of the element.
5.5+ no no no no
 
layout-grid
[layout-grid-mode] [layout-grid-type] [layout-grid-mode] [layout-grid-linr] [layout-grid-char]
Defines the set of layout-grid properties for an element.
5.5+ no no no no
 
layout-grid-char
["none" | "auto" | length | percentage]
Specifies the size of a character grid for the content of an element.
5.5+ no no no no
 
layout-grid-line
["none" | "auto" | length | percentage]
Specifies the grid line value for the text content of an element.
5.5+ no no no no
 
Specifies if the element text layout grid uses the line and/or char mode.
5.5+ no no no no
 
Specifies the type of layout grid for the content of an element.
5.5+ no no no no
 
left
Example values: 50px, 15%, auto, etc.
Specifies the x-coordinate for the position of the element relative to the left edge of the parent element or browser window.
4.0+ 4.0+ 1.0+ 5.0+ 1.0+
 
letter-spacing
Example values: 2pt, 2em, normal, etc.
Specifies the amount of space (in points or pixels) between letters in the text of the element.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
Specifies line-breaking rules for Japanese text.
5.5+ no no no no
 
line-height
Example values: 14pt, 2 (for double-spacing), 110%, etc.
Specifies line height of text in multiline elements, such as paragraphs.
3.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
list-style
[list-style-image] [list-style-position] [list-style-type]
Defines the properties for the list style for a list element.
5.0+ 6.0+ 1.0+ 4.0+ 1.3.2+
  • IE: Browser support incomplete in IE 5, 6, and 7.
  • Safari: Safari does not support the "box" style.
list-style-image
[url(image-url) | "none"]
Specifies the URL to an image to use for list items.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
Specifies the position of the bullet or number for a list.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
Specifies the position of the bullet or number for a list.
5.0+ 6.0+ 1.0+ 4.0+ 1.3.2+
  • IE: Browser support incomplete in IE 5, 6, and 7.
  • Safari: Safari does not support the "box" style.
margin
[top] [right] [bottom] [left]
Defines the widths (in pixels, points, or a percentage) for the margins for the element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
margin-bottom
[margin-width]. Example values: 10px, 5%, etc.
Specifies the width (in pixels, points, or a percentage) for the bottom margin of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
margin-left
[margin-width]. Example values: 10px, 5%, etc.
Specifies the width (in pixels, points, or a percentage) for the left margin of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
margin-right
[margin-width]. Example values: 10px, 5%, etc.
Specifies the width (in pixels, points, or a percentage) for the right margin of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
margin-top
[margin-width]. Example values: 10px, 5%, etc.
Specifies the width (in pixels, points, or a percentage) for the top margin of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
marker-offset
[offset]. Example values: 10px, 5%, etc.
Specifies the width (in pixels or points) between the marker box of an element and the surrounding box of its parent element.
no no no no no
 
Specifies if cross or crop marks should appear outside of the element on a printed page.
no no no no no
 
max-height
[length] | [percentage]
Specifies the maximum height that an element may be.
6.07.0+ 6.0+ 1.0+ 7.0+ 1.3+
  • IE: Minimal support in IE 6.
max-width
[length] | [percentage]
Specifies the maximum width that an element may be.
6.07.0+ 6.0+ 1.0+ 7.0+ 1.0+
  • IE: Minimal support in IE 6.
min-height
[length] | [percentage]
Specifies the minimum height that an element may be.
6.07.0+ 6.0+ 1.0+ 7.0+ 1.3+
  • IE: Minimal support in IE 6. min-height only supported on TD.
min-width
[length] | [percentage]
Specifies the minimum width that an element may be.
6.07.0+ 6.0+ 1.0+ 7.0+ 1.0+
  • IE: Minimal support in IE 6.
Specifies the URL of an XBL file to bind to the element.
no 6.0+ no no no
 
-moz-border-radius
[-moz-border-radius-topleft] [-moz-border-radius-topright] [-moz-border-radius-bottomright] [-moz-border-radius-bottomleft]
Specifies the radius of the border around the element.
no 7.0+ 1.0+ no no
 
-moz-border-radius-topleft
[top-left-border-radius]. Example values: 10px, 5%, etc.]
Specifies the border radius of the top-left corner of the element.
no 7.0+ 1.0+ no no
 
-moz-border-radius-topright
[top-right-border-radius]. Example values: 10px, 5%, etc.]
Specifies the border radius of the top-right corner of the element.
no 7.0+ 1.0+ no no
 
-moz-border-radius-bottomleft
[bottom-left-border-radius]. Example values: 10px, 5%, etc.]
Specifies the border radius of the bottom-left corner of the element.
no 7.0+ 1.0+ no no
 
-moz-border-radius-bottomright
[bottom-right-border-radius]. Example values: 10px, 5%, etc.]
Specifies the border radius of the bottom-right corner of the element.
no 7.0+ 1.0+ no no
 
-moz-border-bottom-colors
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies one or more colors to use in a striping effect on the bottom border of the element.
no 7.0+ 1.0+ no no
 
-moz-border-left-colors
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies one or more colors to use in a striping effect on the left border of the element.
no 7.0+ 1.0+ no no
 
-moz-border-right-colors
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies one or more colors to use in a striping effect on the right border of the element.
no 7.0+ 1.0+ no no
 
-moz-border-top-colors
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies one or more colors to use in a striping effect on the top border of the element.
no 6.0+ 1.0+ no no
 
-moz-opacity
[0-1.0] 0 is completely transparent, while 1.0 is completely solid.
Specifies the level of opacity for the element. Use a two-digit decimal.
no 7.0+ 1.0+ no no
 
-moz-outline
[color] [style] [width]
Mozilla-specific version of the outline property. Defines the properties for an outline drawn over the outer edge of an element.
no 6.0+ no no no
 
-moz-outline-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Mozilla-specific version of the outline-color property that specifies the color for an outline. Specify either a color name or RGB color code.
no 6.0+ no no no
 
Mozilla-specific version of the outline-style property that specifies a style for an outline.
no 6.0+ no no no
 
-moz-outline-width
Example values: 2px, medium, etc.
Mozilla-specific version of the outline-width property that specifies the width of the outline.
no 6.0+ no no no
 
Specifies the behavior of the element when it receives focus.
no 6.0+ no no no
 
Specifies whether or not the element has input focus.
no 6.0+ no no no
 
Specifies if a user can change the contents of the element.
no 6.0+ no no no
 
Specifies the content selection behavior for the element.
no 6.0+ no no no
 
-o-link
["none" | attr(attribute-name)]
Specifies the value for the link variable.
no no no 7.0+ no
 
Specifies the source anchor for the element.
no no no 7.0+ no
 
opacity
[alpha-value]
Specifies the transparency of an element. Specify a value between 0.0-1.0.
6.0+ no 1.5+ 7.0+ 1.2+
  • IE: For IE, specify a whole number percentage (e.g. "50" for 50%) instead of the standard fraction syntax.
orphans
[number-of-lines]
Specifies the minimum number of lines of text that an element must have left at the bottom of a page for printing.
no 6.0+ 1.0+ 7.0+ no
 
outline
[color] [style] [width]
Defines the properties for an outline drawn over the outer edge of an element. Outlines differ from borders in that borders are drawn to the outside of the element.
no 6.0+ no 7.0+ 1.2+
  • Safari: Support for "outline" in Safari is "buggy".
outline-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color for an outline. Specify either a color name or RGB color code.
no 6.0+ no 7.0+ 1.2+
  • Safari: Support for "outline" in Safari is "buggy".
Specifies a style for an outline.
no 6.0+ no 7.0+ 1.2+
  • Safari: Support for "outline" in Safari is "buggy".
outline-width
Example values: 2px, medium, etc.
Specifies the width of the outline.
no 6.0+ no 7.0+ 1.2+
  • Safari: Support for "outline" in Safari is "buggy".
Specifies how to handle content overflow of an element if the content does not fit within the predefined boundaries of the element.
5.0-6.07.0+ 4.0+ 1.0+ 4.0+ 1.3.2+
  • IE: Support for overflow is almost complete for IE 5-6
  • Safari: Support for overflow is not dynamic.
Specifies how to handle content overflow of an element if the content is too wide for the element.
6.0+ no no no no
 
Specifies how to handle content overflow of an element if the content is too tall for the element.
6.0+ no no no no
 
padding
[top] [right] [bottom] [left]
Specifies the amount of padding space between the content of an element and its border.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
padding-bottom
[amount-of-padding]
Specifies the amount of padding (in pixels, points, or a percentage) at the bottom of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
padding-left
[amount-of-padding]
Specifies the amount of padding (in pixels, points, or a percentage) for the left side of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
padding-right
[amount-of-padding]
Specifies the amount of padding (in pixels, points, or a percentage) for the right side of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
padding-top
[amount-of-padding]
Specifies the amount of padding (in pixels, points, or a percentage) at the top of an element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
page
[page-name]
Specifies the type of page that the element should be displayed on.
5.5+ no no no no
 
Defines the way that a page breaks after the element when the page is printed.
4.0+ 6.0+ 1.0+ 7.0+ 1.2+
 
Defines the way that a page breaks before the element when the page is printed.
4.0+ 6.0+ 1.0+ 7.0+ 1.2+
 
Specifies if an element should have a page break forced inside of the element or if page breaks should be avoided inside the element when the page is printed.
no 6.0+ 1.0+ 7.0+ no
 
pause
[pause-before] [pause-after]
Specifies the number of seconds or milliseconds to pause before and/or after an element before playing audio content.
no no no no no
 
pause-after
[length-of-pause]
Specifies the number of seconds or milliseconds to pause after an element before playing audio content.
no no no no no
 
pause-before
[length-of-pause]
Specifies the number of seconds or milliseconds to pause before an element before playing audio content.
no no no no no
 
Specifies the frequency of a speaking voice for audio content.
no no no no no
 
pitch-range
[0-100]
Specifies the range of the pitch of a speaking voice for audio content.
no no no no no
 
Specifies a sound to play while the content of the element is being spoken.
no no no no no
 
Specifies how the element is positioned relative to the page or other elements.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
  • IE: IE 6 does not support position:fixed.
quotes
["open-quote-character" "close-quote-character"]
Specifies the style of quotation marks to use for embedded quotes.
no 6.0+ 1.0+ 7.0+ no
 
richness
[0-100]
Specifies the richness of the speaking voice for audio content.
no no no no no
 
right
Example values: 50px, 15%, auto, etc.
Specifies the x-coordinate for the position of the element relative to the right edge of the parent element or browser window.
4.0+ 6.0+ 1.0+ 4.0+ 1.0+
 
Specifies the alignment for ruby text.
5.0+ no no no no
 
Specifies the overhang of ruby text.
5.0+ no no no no
 
Specifies the position of ruby text.
5.0+ no no no no
 
scrollbar-3dlight-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.
5.5+ no no 7.0+ no
 
scrollbar-arrow-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the arrow of a scroll bar.
5.5+ no no no no
 
scrollbar-base-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the main elements of a scroll bar.
5.5+ no no no no
 
scrollbar-darkshadow-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the gutter of a scroll bar.
5.5+ no no no no
 
scrollbar-face-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the scroll box and arrows of a scroll bar.
5.5+ no no no no
 
scrollbar-highlight-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the top and left edges of the scroll box and arrows of a scroll bar.
5.5+ no no no no
 
scrollbar-shadow-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the bottom and right edges of the scroll box and arrows of a scroll bar.
5.5+ no no no no
 
scrollbar-track-color
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Specifies the color of the track element of a scroll bar.
5.5+ no no no no
 
size
[width] [height] [size-value]. Example values: 8.5in 10in portrait, 14 in 10 in, landscape, etc.
Specifies the size and orientation of a page for print output.
no 6.0+ 1.0+ 7.0+ no
 
Specifies how the content will be rendered as audio content.
no no no no no
 
For audio content, specifies whether table headers are spoken before every cell or just once until the header changes.
no no no no no
 
For audio content, specifies whether numerals are spoken as individual digits or continuous numbers.
no no no no no
 
For audio content, specifies whether punctuation characters will be spoken or read as pauses.
no no no no no
 
speech-rate
[speech-rate-value | number-of-words-per-minute]. Example values: 200 (words-per-minute), 225, fast, etc.
For audio content, specifies the speaking rate.
no no no no no
 
stress
[0-100]
For audio content, specifies the number of inflection points in the voice.
no no no no no
 
Specifies whether the layout of table rows, columns, and cells is fixed.
5.0+ 6.0+ 1.0+ 7.0+ 1.0+
  • IE: table-layout is not supported in IE on a Mac.
Specifies the horizontal alignment property for the element.
3.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies the alignment for the last or only line of text for the element.
5.0+ no no no no
 
Specifies a text decoration for the element.
4.0+ 4.0+ 1.0+ 6.0+ 1.0+
 
text-indent
[amount-to-indent]
Specifies the amount (in pixels, points, or a percentage) that the first line of text should be indented in a block of content.
3.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies the alignment to use to justify the text for the element.
5.0+ no no no no
 
Specifies whether to use ellipses (...) to indicate text overflow.
5.0+ no no no no
 
text-shadow
[depth-to-the-right] [depth-below] [blur-radius] [color]
Defines the horizontal depth, vertical depth, blur, and color for a drop-shadow for text content in the element.
no no no no 1.1+
 
Specifies that the text for the element should be converted to the assigned case or format.
4.0+ 4.0+ 1.0+ 6.0+ 1.0+
 
Specifies the position of the underline text-decoration.
6.0+ no no no no
 
top
Example values: 50px, 15%, auto, etc.
Specifies the y-coordinate for the position of the element relative to the top edge of the parent element or browser window.
4.0+ 4.0+ 1.0+ 6.0+ 1.0+
 
Specifies that the text direction in the element may be overriden for multi-language support.
5.0+ 6.0+ 1.0+ no no
 
vertical-align
Example values: 14px, 2cm, 10%, baseline, etc.
Specifies the vertical alignment property for the element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies whether an element is visible or hidden.
5-7 no 1.5 4.0+ 1.0+
  • IE: Supports only the "hidden" for table columns.
  • Mozilla: Supports only the "collapse" for table columns.
voice-family
[voice-name | voice-family-value]. Example values: george, robot, male, etc.
Specifies the speaking voice for audio content.
no no no no no
 
volume
[0-100 | percentage | volume-value]. Example values: 25, 30%, soft, etc.
Specifies the sound volume for audio content.
no no no no no
 
Specifies how to handle white space characters for the element.
5.5+ 4.0+ 1.0+ 9.0+ 1.0+
  • IE: IE only supports the "pre" value for white-space.
  • Mozilla: Support for white-space is incomplete.
  • Opera: Opera almost has full support for the white-space attribute.
  • Safari: Support for white-space is incomplete.
widows
[number-of-lines]
Specifies the minimum number of lines of text that an element must have left at the top of a page for printing.
no 6.0+ 1.0+ 7.0+ no
 
width
Example values: 100px, 50%, etc.
Specifies the width (in pixels, points, or as a percentage) of the content of the element.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies line-breaking behavior between words in the content of the element.
6.0+ no no no no
 
word-spacing
[amount-of-space]
Specifies the amount of space between words for the element text.
6.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
Specifies line-breaking behavior for words that are longer than their container boundaries.
6.0+ no no no no
 
Specifies the direction and flow of content in the element.
6.0+ no no no no
 
z-index
[integer]
Specifies the stacking order of the element relative to other layers. A higher z-index value will place the element above layers with lower z-index values.
4.0+ 4.0+ 1.0+ 4.0+ 1.0+
 
zoom
["normal" | number | percentage]
Specifies the magnification scale for the element.
5.5+ no no no no
 

text_css aptana_docs