You are here: Re: Absolute positioning problem « HTML « IT news, forums, messages
Re: Absolute positioning problem

Posted by Gιrard Talbot on 10/12/05 00:27

obarbut@gmail.com a Γ©crit :
> Ah, I found the problem!
>
> My use of making the stretchable bits of this page use a distance from
> each side of the parent div is not working with IE.

Nested abs. pos. elements work accordingly in MSIE 6.

One problem I immediately see in your webpage is that a majority of your
abs. pos. nested div are empty div, empty nodes. There is nothing to
display.

Also, you should be attentive, worrysome regarding too many nested divs.

"
Classitis and Divitis

A common error of beginning CSS coders is to use far too many <div> tags
and class attributes (...)

Ninety-nine out of a hundred times these complicated structures are
unnecessary. When you start writing CSS you should avoid them, instead
of thinking you found the one in hundred exception to the rule.(...)
"
Web Page Development: Best Practices
http://developer.apple.com/internet/webcontent/bestwebdev.html

I am absolutely convinced you do not need all these nested divs to
render all those background-images.
You can absolutely positioned these images inside the abs. pos. <div
id="window">.

GΓ©rard
--
remove blah to email me

 

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

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