Cascading Style Sheets (CSS) Quick Reference, a Quick look-up for CSS properties with examples.
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

[About BTH]  [User Agreement]  [Privacy Policy]  [Site Map]  [Contact Form]  [Advertise on BTH]  [News Feed]

Google
Web
This Site

Win $3,500.00 worth of gas!

Cascading Style Sheets Quick Reference

InLine Style Sheet Embedded Style Sheet External Style Sheet
Color Specification Units Descendant Selectors
List Table  
Text Alignment Text Color Text Decoration
Text Highlight Text Justification  
Indent First Line of Text Letter Spacing Line Spacing
Style First Letter Style the First Line Cursor
Font Family Font Size Font Style
Font Variant Font Boldness  
background-color background-image background-position
background-attachment background-repeat Set the background
border-color border-style border-width
Set the border Scrollbar Color Rollover Effects
Margin Padding Overflow
Visibility Clipping Z Index
Vertical Alignment Float Position

This section is a Cascading Style Sheets (CSS) quick reference. It provides quick basic descriptions of how to do things with CSS. It is not a comprehensive tutorial, nor is it a definitive reference.

For simplicity, most of the examples show how to set style using the inline method. You should be able to easily convert these to embedded or externally linked declarations.

CSS provides the page design capability for the Web that print publishing has been enjoying for years. Style sheets give you accurate control over page layout and positioning, advanced font control, and color control. With style sheets, you can specify text sizes and spacing between lines (leading) in points.

CSS separates the typographics and page layout from the content of Web pages, making it much easier to revise your content or change your page design. With CSS, you can change the formatting of individual Web pages or your entire site without editing every single HTML tag in every single file.

The CSS standard has changed as it evolved, for example the original standards stated that a relative positioned element always creates a new containing block. Later, the standard changed to state that a relative positioned element follows the rules of non-positioned elements.

There are inconsistencies in how different browsers handle given features, even inconsistencies between different browser versions from the same company. Even the latest versions of the most popular browsers have CSS bugs. Like Microsoft Internet Explorer 6.0s "peek-a-boo" bug, where an element's content disappears and reappears as you scroll the page.

CSS has a lot to offer, but it's best to keep it simple. If you try to get too sophisticated in your use of CSS you'll learn why the most common phrase found in most articles on CSS is "work around". If you write lots of extra code to work around the inconsistencies and bugs, your webpage might display correctly until the next standard change or browser version release. Keep it simple!

Web Design Sections
CSS Quick Reference
Use Inline Style
Use an Embedded Style Sheet
Use an External Style Sheet
CSS Units of Measurement
Specifying Color
Set the Text Color
Set the Text Alignment
Set the Letter Spacing
Set the Line Spacing
Highlight Text
Indent the First Line of Text
Set the Text Decoration
Set Text Justification
Set the Font Family
Set the Font Style
Set the Font Boldness
Set the Font Size
Set the Font Variant
Style the First Letter
Style the First Line
Set the Background Color
Set a Background Image
Set a Background Image's Position
Set a Fixed Background Image
Set the Background Properties
Set the Border Properties
Set the Border Style
Set the Border Width
Set the Border Color
Set an Element's Margin
Set an Element's Padding
Set an Element's Clipping
Set an Element's Overflow
Set an Element's Position
Set an Element's Float
Color the Scrollbar
Set an Element's Overlap
Set an Element's Visibility
Vertical Align an Element
Define CSS Rollover Effects
[Site User Agreement]  [Advertise on This site]  [Search This Site]  [Contact Form]
Copyright©2001-2007 Bucaro TecHelp P.O.Box 18952 Fountain Hills, AZ 85269