To the gurus out there - a conundrum.

J

jojo

dorayme wrote:
[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
 
D

dorayme

jojo said:
dorayme wrote:
[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...

You paid so much attention to what I said that you could not see
that the remarks applied equally to ems or % or cm ...? A touch
of the Luigi here... have you been got at? Bewitched? Eliza'd?
 
M

mbstevens

You paid so much attention to what I said that you could not see
that the remarks applied equally to ems or % or cm ...? A touch
of the Luigi here... have you been got at? Bewitched?
Eliza'd?

Are you referring to the lisp program or the Faithful Dushku?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top