Appendix B. CSS Style Definitions


When you examine a style rule in Dreamweaver, you might not be familiar with the names of the style definitions that appear in the CSS Styles panel. The following table lists them and explains them for your convenience.

Table B-1.

Style definition

Controls

background-attachment

The behavior of a background image when the page scrolls

background-color

The background color

background-image

A background image

background-position

The position of a background image

background-repeat

The tiling or repeating of a background image

border-collapse

Whether adjacent borders merge or remain separate

border-color

The color of a border

border-spacing

The space between a border and the content it surrounds

border-style

The style of a border

border-width

The width or thickness of a border

border-bottom-color, border-bottom-style, border-bottom-width

The color, style, or width of the bottom border

border-left-color, border-left-style, border-left-width

The color, style, or width of the left border

border-right-color, border-right-style, border-right-width

The color, style, or width of the right border

border-top-color, border-top-style, border-top-width

The color, style, or width of the top border

bottom

The bottom position of an element

clear

How a block of content positions itself in relation to surrounding blocks; cleared blocks move down to the next available horizontal line

clip

The region around a block of content that the browser clips or makes invisible

color

The foreground color

cursor

The shape of the cursor when the visitor hovers over the element

float

How a block of content positions itself in relation to surrounding blocks; floating blocks appear on the same horizontal line

font-family

The typeface

font-size

The type size

font-style

Italic or oblique type

font-variant

All-capped or small-capped type

font-weight

Bold type

height

The height of an element

left

The left position of an element

letter-spacing

The amount of space between characters in a line of type

line-height

The amount of space between lines of type

list-style-image

The image to be used as the leading character in a list item, such as a graphical replacement for the standard HTML bullet

list-style-position

The position of the leading character in a list item

list-style-type

The type of leading character in a list item

margin-bottom

The location of the bottom margin

margin-left

The location of the left margin

margin-right

The location of the right margin

margin-top

The location of the top margin

overflow-x

How the element handles horizontal overflow content

overflow-y

How the element handles vertical overflow content

padding-bottom

The amount of padding along the bottom of the element

padding-left

The amount of padding on the left side of the element

padding-right

The amount of padding on the right side of the element

padding-top

The amount of padding along the top of the element

position

How the browser positions the element on the page, either by relative or absolute units

right

The right position of an element

text-align

The alignment of a block of text

text-decoration

Additions to a block of text, such as underlines, overlines, or strikethroughs

text-indent

The amount of indentation in the first line of a block of text

text-justify

The justification setting of a block of text

text-transform

The capitalization style of a block of text

top

The top position of an element

visibility

The visibility of an element

width

The width of an element

z-index

The position of the element in the stacking order; elements with higher z-index values superimpose those with lower z-index values




Dreamweaver 8 Design and Construction
Dreamweaver 8 Design and Construction (OReilly Digital Studio)
ISBN: 0596101635
EAN: 2147483647
Year: N/A
Pages: 154
Authors: Marc Campbell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net