CSS, How To – Shorthand Properties

The background property combines background-color, background-image, background-repeat, background-attachment, and background-position.

h1 {

border: 1px solid gray;
background: yellow url(tint.jpg) repeat-y 100% 0;

}

The list -style property combines list-style-types, list-style-postition, and list-style-image.

ul {

list-style: square inside;

}

Padding and Margins: Top, Right, Bottom and Left

p {

padding: 1em 2em 3em 4em;
margin: 5px 4px 3px 1px;

}

Helpful Articles

Steve Present Weight Loss: The 2 Secrets Of Weight Loss Success

2 Unusual Facts About Rapid And Lasting Weight Loss Success: In order to achieve lasting results, you MUST change your inner weight controller: Your subconscious mind...

Diabetic Renal Diet for CKD Patients Diet

Diabetic Renal Diet Guidelines Made Easy! Being that one of the most common extrarenal diseases affecting the kidney is diabetes mellitus, diabetic renal diet has become a topic of interest nowadays...

The Lemonade Diet

There are many people who have the primary goal of weight loss and they turn to the lemonade diet to lose weight quickly...

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • BlinkList
  • blogmarks
  • email
  • Fark
  • LinkaGoGo
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati
  • Twitter
  • Propeller
  • Yahoo! Buzz

Tags: , , , ,

Leave a Reply