Reply to Re: positioning & padding in DIV elements ...

Your name:

Reply:


Posted by John Hosking on 09/03/07 13:13

Ralf wrote:
>> 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.

>
> 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.

Well, I still don't see any difference between the pages.

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


--
John
Pondering the value of the UIP: http://improve-usenet.org/

[Back to original 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

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