CSS Outlines

CSS Outline Properties

An outline is a line that is drawn around elements, outside the border edge, to make the element "stand out".

The CSS outline properties sets the outlines around elements. You can specify the style, color, and width of the outline.

Note: Outlines do not take up space, and they do not have to be rectangular.

Browser support: IE: Internet Explorer, F: Firefox, N: Netscape.

W3C: The number in the "W3C" column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).

PropertyDescriptionValuesIEFNW3C
outline A shorthand property for setting all the outline properties in one declaration outline-color
outline-style
outline-width
- 1.5 - 2
outline-color Sets the color of the outline around an element color
invert
- 1.5 - 2
outline-style Sets the style of the outline around an element none
dotted
dashed
solid
double
groove
ridge
inset
outset
- 1.5 - 2
outline-width Sets the width of the outline around an element thin
medium
thick
length
- 1.5 - 2


Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



About US

At Blog itonlinestore.net you will find all the Web-building tutorials you need, from basic HTML and XHTML to advanced XML, SQL, Database, Multimedia and WAP.

Recent posts

Recent comments

Archive

Search

Tags




Disclaimer

We do not warrant the correctness of its contents. The risk from using it lies entirely with the user.

© Copyright 2010