You are here: Re: To the gurus out there - a conundrum. « HTML « IT news, forums, messages
Re: To the gurus out there - a conundrum.

Posted by jojo on 07/29/06 11:24

dorayme wrote:
[not necessary to write a unit behind zero in CSS]
>>>> Hope I remember this when I need to set some value 'zero' in
>>>> future...
>>>
>>> Why? What does it matter if you don't?
>>>
>> It doesn't matter, it just looks nicer that way ;-)
>
> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация