You are here: Re: positioning & padding in DIV elements ... « HTML « IT news, forums, messages
Re: positioning & padding in DIV elements ...

Posted by Ralf on 09/05/07 07:31

Ralf wrote:
>
> here's my URL: http://www3.telus.net/peaklong/test/intro.htm
>
> my INTRO & BACKGROUND pages behave fine except for mysterious extra
> padding-right in my outer content box; all other site pages [snip]

> IAC, have you tried taking away the width: 100%; from .content2?

thanks to John & others for your patience with this: it seems what was
causing a lot of the "padding-chaos" was the width declarations on my
'inner' text boxes, as opposed to controlling width by margin attributes.
When I removed these declarations, all falls into place (even the bottom nav
bar). what a learning curve.

one further minor dilemma; in "cleaning up" my CSS, I removed the "negative
padding" values for the paragraph declaration that had "snugged" the
paragraphs a little closer together, as per my client's wish. How can I now
go about shortening the spacing between paragraphs without resorting to a
negative bottom margin or padding?

thanks all for your help ...

Ralf

 

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

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