HomeReferencesCSS Properties

CSS Property: outline-style

Specifies the style of an outline. Not supported by IE/Win or Mozilla.

HTML Dog, The Book HTML Dog book cover

HTML Dog is hosted by Titan Internet

Possible Values

  • none - no border.
  • dotted - A series of dots.
  • dashed - A series of dashes.
  • solid - A solid line.
  • double - Two solid lines.
  • groove - Patterned border that is supposed to represent a carved groove (opposite of ridge).
  • ridge - Patterned border that is supposed to represent an embossed ridge (opposite of groove).
  • inset - Patterned border that is supposed to represent an inset depression (opposite of outset).
  • outset - Patterned border that is supposed to represent an outset extrusion (opposite of inset).
  • hidden - Used with tables. Same as none, except where there are conflicting borders.

Example


.bar { outline-style: solid; }