You are here: Re: How do I do a layout with 100% width minus padding on left and right? « HTML « IT news, forums, messages
Re: How do I do a layout with 100% width minus padding on left and right?

Posted by Tony M on 09/07/05 20:10

On Tue, 6 Sep 2005 17:22:57 -0700, Neredbojias
<neredbojias@neredbojias.com> wrote:

>Nope. You should use the "strict" doctype and only pad the inner
>content div, not the outer. If you set the outer content div to
>width:100% *and* pad it, it's effective width is >100%.

Well, I followed your suggestions, and further changed my css so that
I set the margin instead of the padding and it works in IE, Opera and
Avant. However, Mozilla and Netscape still give me headaches. I
suppose the best I can do is to use browser detection code (though
even that isn't 100% foolproof) and have different css files.

Thanks for your help.

Tony

 

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

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