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/03/07 03:38

> IAC: Your #header-graphic { width: 100%; } makes it try to be the same
> full width as div.content2, but you're starting it 10px to the right
> because of the left margin in margin: 5px 10px 9px 10px;. So one obvious
> workaround/solution is to remove the width declaration from
#header-graphic.

Hi John,

I removed the "width: 100%" item on the top page graphic; this made my outer
box padding totally disapper; I then added the padding to the outer box
again and that right padding issue is "solved" (in fact, 'perfect' on the
intro and bkg pages), but on the other site pages, the header graphic is now
"short" but about 12 px and the "extra space" or padding on the inner box
still sits there.

tried removing the width declaration from the bottom nav, but it makes it
even shorter (all browsers); at least before Opera & FF rendered it @ 100%.

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

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