On Friday 06 January 2006 11:47, Karl Lattimer wrote: > > > And now <container margin="10 10 10 10" > will work. (Although the > > > parameter order is different than css, because css is retarded in > > > this.) > > > > Oh, that's...dangerous. ;-) > > I agree with both of you here. The order should be, as a well accepted > standard used by graphics programmers since apple ][ days; > top - left - bottom - right ..eh, not left - top- right - bottom? (X before Y?)
> For some reason CSS uses;
> top - right - bottom - left
Right. Actually quoted from the specs:
The 'margin' property is a shorthand property for setting 'margin-top',
'margin-right', 'margin-bottom', and 'margin-left' at the same place in the
style sheet.
If there is only one value, it applies to all sides. If there are two values,
the top and bottom margins are set to the first value and the right and left
margins are set to the second. If there are three values, the top is set to
the first value, the left and right are set to the second, and the bottom is
set to the third. If there are four values, they apply to the top, right,
bottom, and left, respectively.
--
Ciao, / / .o.
/--/ ..o
/ / ANS ooo
pgp5ekEhXyjH5.pgp
Description: PGP signature
