You are here: Re: IE/Firefox XHTML Strict « HTML « IT news, forums, messages
Re: IE/Firefox XHTML Strict

Posted by Ben C on 10/31/06 09:22

On 2006-10-31, Gιrard Talbot <newsblahgroup@gtalbot.org> wrote:
> David wrote :
[snip]
>> #navbody
>> {
>> width:100%;
>> }
>
> width:100% is a sign of over-constrained layout. If you can avoid
> defining rigid, unflexible width. width: auto is the default value and
> is usually good, excellent as is.
[snip]
>> #body
>> {
>> width:100%;
>
> 1- Right here: over-constraining, rigid. What was wrong with width: auto
> or no width at all?

I've noticed a few people doing width: 100% in places where the computed
value for auto width is 100% of the container anyway, and started
lecturing them about it. But I wonder if this is some IE workaround, it
seems to be such a common thing?

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация