outline Property

November 18, 2005

Maybe this is old news, but Firefox 1.5 supports the CSS3 outline property.

Outlines differ from borders in the following ways:

  1. Outlines do not take up space.
  2. Outlines may be non-rectangular.

This makes them very useful for showing the edges of layout blocks. Borders influence the size of an element, outlines don’t.

Advertisements