CSS Primer

From Dreamwidth Notes
Revision as of 21:47, 23 April 2011 by Foxfirefey (Talk | contribs)

Jump to: navigation, search

You might also want to look at the HTML Primer. This is not a complete list of CSS rules and effects.

CSS Basics

CSS Cascade -- a slideshow that explains how the browser decides which rules to apply.

Use this tutorial to get a good handle on CSS selectors: Selectutorial: CSS selectors.

Backgrounds

These properties

Modern browsers support multiple background image declarations:

Borders

Lists

References

Positioning

Absolute, Relative, Fixed

Floats

References

Block versus inline display

  • display -- You can make a span display like a block element, or a div display like an inline element, with this rule.

References

  • CSS3 Litmus -- which browsers support what CSS3 attributes (note: does not include FF4)