buznutt

Buznutt Blue Sky Solutions: Making it simple by keeping it simple.

Web development, design, and consulting services provided by a Ruby on Rails developer living in Olympia, WA.

Providing innovative web services, hosting and consulting for small businesses and creative people.

www.buznutt.com/

Web development, design, consulting.

Creativity, integrity, reliability.

www.buznutt.com/

Study hall: Learn about some nuts and bolts.

Study Hall
Links to the Topics

CSS 2 Properties

In case you haven’t seen what goes into cascading style sheets, here is a fairly complete list of the CSS 2 properties. What you don’t see here is every configuration option, or how to use them, which can be fun to figure out at times. Enjoy, if possible.

As noted in the lexicon, CSS is a handy way to format the appearance of web pages. A stylesheet is a set of rules, and each rule is a statement about style. Stylesheets “cascade” or inherit from one another, and because of this many stylesheets and mixtures of styles can apply to one web page.

backgroundA shorthand property for setting all background properties in one declaration. Possible values: background-color, background-image, background-repeat, background-attachment, background-position.
borderA shorthand property for setting all of the properties for the four borders in one declaration. Possible values: border-width, border-style, border-color.
border-spacingSets the distance that separates cell borders.
bottomSets how far the bottom edge of an element is above/below the bottom edge of the parent element.
caption-sideSets the position of the table caption.
clearSets the sides of an element where other floating elements are not allowed.
clipSets the shape of an element. The element is clipped into this shape, and displayed.
colorSets the color of a text.
contentGenerates content in a document. Used with the :before and :after pseudo-elements.
counter-incrementSets how much the counter increments on each occurrence of a selector.
counter-resetSets the value the counter is set to on each occurrence of a selector.
cursorSpecifies the type of cursor to be displayed.
directionSets the text direction.
displaySets how/if an element is displayed.
empty-cellsSets whether or not to show empty cells in a table (only for the "separated borders" model).
floatSets where an image or a text will appear in another element.
fontA shorthand property for setting all of the properties for a font in one declaration. Possible values: font-style, font-variant, font-weight, font-size/line-height, font-family, caption, icon, menu, message-box, small-caption, status-bar.
heightSets the height of an element.
leftSets how far the left edge of an element is to the right/left of the left edge of the parent element.
letter-spacingIncrease or decrease the space between characters.
line-heightSets the distance between lines.
line-heightSets the distance between lines.
list-styleA shorthand property for setting all of the properties for a list in one declaration. Possible values: list-style-type, list-style-position, list-style-image.
marginA shorthand property for setting the margin properties in one declaration. Possible values: margin-top margin-right, margin-bottom, margin-left.
max-heightSets the maximum height of an element.
max-widthSets the maximum width of an element.
min-heightSets the minimum height of an element.
min-widthSets the minimum width of an element.
outlineA shorthand property for setting all the outline properties in one declaration. Possible values: outline-color outline-style outline-width.
overflowSets what happens if the content of an element overflow its area.
paddingA shorthand property for setting all of the padding properties in one declaration. Possible values: padding-top padding-right, padding-bottom, padding-left.
page-break-afterSets the page-breaking behavior after an element.
page-break-beforeSets the page-breaking behavior before an element.
page-break-insideSets the page-breaking behavior inside an element.
positionPlaces an element in a static, relative, absolute or fixed position.
positionPlaces an element in a static, relative, absolute or fixed position.
quotesSets the type of quotation marks.
rightSets how far the right edge of an element is to the left/right of the right edge of the parent element.
table-layoutSets the algorithm used to display the table cells, rows, and columns.
text-alignAligns the text in an element.
text-decorationAdds decoration to text.
text-indentIndents the first line of text in an element.
text-transformControls the letters in an element.
topSets how far the top edge of an element is above/below the top edge of the parent element.
vertical-alignSets the vertical alignment of an element.
visibilitySets if an element should be visible or invisible.
white-spaceSets how white space inside an element is handled.
widthSets the width of an element.
word-spacingIncrease or decrease the space between words.
z-indexSets the stack order of an element.
:activeAdds special style to an activated element.
:afterInserts some content after an element.
:beforeInserts some content before an element.
:first-childAdds special style to an element that is the first child of some other element.
:first-letterAdds special style to the first letter of a text.
:first-lineAdds special style to the first line of a text.
:focusAdds special style to an element while the element has focus.
:hoverAdds special style to an element when you mouse over it.
:langAllows the author to specify a language to use in a specified element.
:linkAdds special style to an unvisited link.
:visitedAdds special style to a visited link.


Copyright © 2008 by Dave Sailer

Buznutt ~ A small company with a funny name. Dedicated to making it simple.

Dedicated to communication, collaboration, to developing web sites.

For innovators and creators. For Real. Yay!

Contact me