Click to See Complete Forum and Search --> : Css


solidariti
04-06-2006, 03:09 PM
When someone uses padding:0 7px; what does this specify, top right or top left?

And what does this specify, padding:2px; = top right bottom left

What other combinations are there I know the T R ou B L = Top Right Bottom Left

Thank you in advance

Fang
04-06-2006, 04:05 PM
http://www.456bereastreet.com/archive/200502/efficient_css_with_shorthand_properties/

McCauley
04-06-2006, 04:32 PM
In any of the four-sided styles such as padding and margin the order is:
top, right-side, bottom and left-side.