Cascading Style Sheets (CSS)

Border Style

CSS enable you to set various different border styles using the border-style property. Default border style setting is none.

The border-style values:

  • none
  • hidden
  • solid
  • double
  • dotted
  • dashed
  • groove
  • ridge
  • inset
  • outset



Here is an example that let you see all the border styles, except none and hidden.

<style type="text/css">
<!--
h1 {
    border-width: 6px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-color: #66CCFF;
    color: #66CCFF;
    background: #123456;
    text-align: center;
    background-color: #0000FF;
}
-->
</style>

<h1 style="border-style: double">Border Style double</h1>

Border Style Double

<h1 style="border-style: dotted">Border Style dotted</h1>


Border Style Dotted

<h1 style="border-style: dashed">Border Style dashed</h1>


Border Style Dashed

<h1 style="border-style: groove">Border Style groove</h1>


Border Style Groove

<h1 style="border-style: ridge">Border Style ridge</h1>


Border Style Ridge

<h1 style="border-style: inset">Border Style inset</h1>


Border Style Inset

<h1 style="border-style: outset">Border Style outset</h1>

Border Style Outset

No User Comments.

No User Comments, be the first one to write your comments?

Add your comments

Your Name*:
Your Email:
Site URL:
Site Name:
Comemt Title*:
Your Comment*:
Key Phrase*:
bE1
Your IP Address: 38.103.63.62
 

ScandicWeb is own by Scandic Systems LTD [UK] Company No. 5984000. All other trademarks and copyrights are the property of their respective holders.

[Home [Site Map [Privacy Statement [Site Feedback] [About ScandicWeb]


[ColdFusion [Flash [Search Engine Optimization [Graphics [Cascading Style Sheets (CSS) [JavaScript (JS) [Software]

Partner sites: ScandicSoft


Server time: 19. November 2008 Wednesday