May 28th 09
The Trouble With Top, Right, Bottom and Left – Shorthand CSS
A few people ask me in what order do padding/margin values appear when using shorthand CSS. Many people use padding-right:10px; padding-left:10px; eg. #left { padding-top:20px; padding-left:30px; padding-right:40px; padding-bottom:50px; } Well the order for shorthand CSS is Top, Right, Bottom and Left and this can be easily remembered by using the word TRouBLe – Top-Right-ou-Bottom-Left so the... read more
