Geeks With Blogs

@woodbasen
  • woodbasen Man må bare elske Fars dag! ungerne laver morgenmad. En gave der garanterer en perfekt @COPENHELL. En halv arbejdsdag og en fodboldkamp :-D about 541 days ago

Woodbase Umbraco - CSS - jQuery - .Net - C# CSS Tips and tricks for Cascading StyleSheets
CSS–margin or padding
I was beginning the implementation of a new design, and once again I found that my margin property on a div-tag, did not behave as I expected. So I decided to look for best practice when it comes to using margin or padding. What I found was this very short and concise description of the difference between the two: “Margin is on the outside of block elements while padding is on the inside. Use margin to separate the block from things outside it, padding to move the contents away from the edges of ......

Posted On Tuesday, June 5, 2012 2:08 PM

Copyright © woodbase | Powered by: GeeksWithBlogs.net | Join free