Contact Us

|

FriendFeed FriendFeed

|

follow us on twitter Twitter

|

 Rss Feed

|

Favorites Add to Favorites

Saturday, September 20, 2008

Types of borders in CSS

There are different types of borders to choose from. Below are shown 8 different types of borders 4. The values none or hidden can be used if you do not want any border.

Border: dotted, dashed, solid, double, groove, ridge, inset, outset

Example:
h1 {
border-width: thick;
border-style: dotted;
border-color: gold;
}

Shorthand Method for border:
Ex:
h1 {
border:1px solid #ccc
}

1 Comments:

Blogger Albert Andrada said...

Really Nice Information,Thank You Very Much For Sharing.
Wordpress Development Company

May 6, 2015 at 8:42:00 AM PDT  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home