Css padding and margin shorthands

July 3, 2007

#theundisputeddiv {
margin-top: 10px;
margin-right: 40px;
margin-bottom: 10px;
margin-left: 60px;
}

shorthand for this is

#theundisputeddiv {
margin: 10px 40px 10px 60px;
}

Entry Filed under: css. .

1 Comment Add your own

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Spam Blocked

Flickr Photos

27/365 : Escape

Large Format Study N. 14

let the wind blows

More Photos

Blogroll

Recent Posts

Recent Comments

Satheeshmuthu on Sachin silences the critics [ …
Satheeshmuthu on Sachin silences the critics [ …
izdelava spletne str… on Convert em,px,pt and % in…
CSS References, Tuto… on Convert em,px,pt and % in…
shirley on Convert em,px,pt and % in…

Pages

Top Clicks

Top Posts

Blog Stats