05-07-2008, 11:07 AM
|
#5 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Quote:
|
And that last one isn't even shorthand.
|
I put that at the end to show the long equivalent, also it doesn't set all margins to 0; 'margin 0 auto;' sets top and bottom to 0 and left auto (and possibly right auto i cant remember if it does or not)
If you want a different margin top/bottom this does the trick and should still be centred:
margin: <top value> auto <bottom value>;
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|