ArticleTrader.com
  

 Main Menu

  Home
  Member Login
  Forum
  Submit Article
  RSS Feeds
  Contact Us
  About

 Services

  Article Distribution
  Link Building

 Tools

  ArticleMS
  Directory Tracker

 Categories

  Automotive
  Business
  Computers
  Entertainment
  Finance
  Food
  Health
  Home and Family
  Internet
  » Affiliate Programs
  » Blogging
  » Domains
  » Email
  » Forums
  » Online Business
  » PPC Advertising
  » RSS
  » Security
  » SEO
  » Site Promotion
  » Spam
  » Web Design
  » Web Hosting
  Legal
  Science
  Self Improvement
  Shopping
  Society
  Sports
  Technology
  Travel
  Writing

58 users online.



 
  » Category Sponsors
  Communicating Your Needs

Home » Internet » Web-design » CSS Border Properties
Article Stats:
65 Views
297 Words

Get Html Code
PDF | Print View | Post to your Site

CSS Border Properties

Submitted by dave01
Mon, 5 Nov 2007

CSS Border Properties

SmartCSS ™ software is mainly based on the CSS box model. The CSS box model represents every element on a web page which contains four components:

- The element.
- The padding around the element.
- The border around the padding.
- The margin around the border.

The CSS border properties define the border around the element which include padding values.

CSS Border Properties

border (*width *style *color)
border-color (*color)
border-style (none hidden dotted dashed solid double groove ridge inset outset)

border-top (*width *style *color)
border-top-color (*color)
border-top-style (none hidden dotted dashed solid double groove ridge inset outset)
border-top-width (thin medium thick or *length)

border-right (*width *style *color)
border-right-color (*color)
border-right-style (none hidden dotted dashed solid double groove ridge inset outset)
border-right-width (thin medium thick or *length)

border-bottom (*width *style *color)
border-bottom-color (*color)
border-bottom-style (none hidden dotted dashed solid double groove ridge inset outset)
border-bottom-width (thin medium thick or *length)

border-left (*width *style *color)
border-left-color (*color)
border-left-style (none hidden dotted dashed solid double groove ridge inset outset)
border-left-width (thin medium thick or *length)

width = (thin medium thick length)
style = (none hidden dotted dashed solid double groove ridge inset outset)
color = hex number (#FF0000)

Length - Relative
em The computed font-size.
ex The height of a lowercase "x".
px Pixels, relative to the viewing device.
% Percentage.

Or

Length - Absolute
in Inches (1 inch = 2.54 centimeters).
cm Centimeters.
mm Millimeters.
pt Points (1 point = 1/72 inches).
pc Picas (1 pica = 12 points).

About the Author

Mark Tessen software engineer


Source: ArticleTrader.com
Creative Commons License

Comments

No comments posted.

Add Comment

Your Name:


Your Email:


Comment

Enter the code shown

Visual CAPTCHA

 Top Authors

 1 stickystebee (3075)
 2 alien82 (2756)
 3 kajuba (2296)
 4 limalan88 (2216)
 5 sverdlow (1712)
 6 juliet (1683)
 7 AnthonyF (1244)
 8 artavia.seo (1138)
 9 MarkeD (1100)
 10 isolvum (1019)
 11 cj (941)
 12 IC (935)
 13 jkhbraveheart (847)
 14 lets_j2top@ya.. (825)
 15 Osborne (800)
  » Member List

 Latest Forum

» member,articles count
» SQL Query
» Javascript popup implementation
» Question about no approved articles
» How important is article distribution in SEO
» Disable the "About the Author"

 Distribution

Article Distribution

  
  Affiliate Program 2Checkout.com, Inc. is an authorized retailer of ArticleTrader.com

1.54s