(Languages: az be bg de el en es hr id it nb nl pl pt ro ru sq sr-cryl th tl uk vi zh-hans zh-hant)

Web Style Sheets
CSS tips & tricks

(This page uses CSS style sheets)

Figures/captions

A pinned-down menu

Indented paragraphs

Alternative style sheets

A confetti menu

Un-colored scrollbars

Even/odd

A tabbed interface

Fonts

Centering

Shadows

Text shadows

Round corners & shadows

Length units

Tips & tricks

A random collection of CSS examples and some help in using them.

  1. Figures & captions
  2. A pinned-down menu
  3. Indented paragraphs
  4. Alternative style sheets
  5. A confetti menu
  6. Getting rid of colored scrollbars (user style sheets)
  7. Even/odd: coloring every other row
  8. A tabbed interface
  9. A chart comparing font styles
  10. Horizontal and vertical centering
  11. Boxes with drop shadows
  12. Text shadows
  13. Rounded boxes and unsharp shadows
  14. Units of length: px, em, cm, etc.

CSS Valid CSS!Valid HTML 4.0!

Bert Bos
created 17 Jan 2001;
last updated $Date: 2010/02/14 15:02:02 $ GMT