Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Css Borders
Your Ad Here

Css Borders


Using CSS you can apply a border to elements like table cells and images. You can define individual edges (border-right for example) or you can apply the same effect to every edge (border). Below is a list of variables.

border-width
border-style
border-color 

The border-style tag has many attributes, listed below:

A dotted border : style="border-style: dotted"

A dashed border : style="border-style: dashed"

A solid border : style="border-style: solid"

A double border : style="border-style: double"

A groove border : style="border-style: groove"

A ridge border : style="border-style: ridge"

An inset border : style="border-style: inset"

An outset border : style="border-style: outset"

Note: The "border-style" property is not recognized by Netscape 4.

Netscape 6 supports all border styles.

Internet Explorer 5.5 supports all border styles. Internet Explorer 4.0 - 5.0 do not support the "dotted" and "dashed" values.

Author's URL: Ian
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Css Borders"

Only registered users can write comment

Reader's comments