J
jojo
dorayme wrote:
[not necessary to write a unit behind zero in CSS]
You may be right... only that I don't use px normally... I at least try
to use em whenever possible... 10px of padding are much with a font-size
of 20px, but one can hardly recognize them with a font-size of 40px...
Most time I use no padding at all but margin if I have no border, so I
avoid to write bugfixes for IE 5 or older (CSS box model)...
jojo
[not necessary to write a unit behind zero in CSS]
Ah yes... I can relate to that. OK jojo, what about this:
You are typing away and making with the compact form of padding:
padding: 2px 0 2px 5px;
And then you think... maybe I should put 0px here to make it look
nice and balanced or for the practical reason that maybe I will
change my mind later and put a positive number instead, the px is
already there and waiting for me... perhaps even the latter
practical reason informs one's aesthetics?
You may be right... only that I don't use px normally... I at least try
to use em whenever possible... 10px of padding are much with a font-size
of 20px, but one can hardly recognize them with a font-size of 40px...
Most time I use no padding at all but margin if I have no border, so I
avoid to write bugfixes for IE 5 or older (CSS box model)...
jojo