You are here: Padding issues « HTML « IT news, forums, messages
Padding issues

Posted by grosberg.michael on 12/23/06 21:10

Please help me understand something about padding: As far as I know,
padding is supposed to be on the "inside" of an element. Common logic
would imply, therefore, that if you assign an element a certain height
and width, and also give it a padding through CSS, then the element
would retain its stated size and render the content in a smaller area
(size minus the padding) inside the element.

But I just found out that is not the case! In bth Firefox and Explorer
padding is added to the stated size . Worse still, in firefox, padding
in table cells is added to the left and right sides but not to the top
and bottom!

Is that how these things are supposed to behave?

 

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

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