HighDots Forums  

Need help with z-index error

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Need help with z-index error in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
birdy2076
 
Posts: n/a

Default Need help with z-index error - 01-02-2009 , 12:45 PM






Hi,

I'm an amateur at webdesign...pretty new to css and divs and need help fixing
a z-index error i've been receiving in a site i'm creating. I've created 3 main
divs: header, content and footer and have additional divs within the content
section. The problem shows in the three main divs H,C, and F and here's what it
says:

"Positioned containers define a new stacking order, even when the computed
z-index of the container is auto. This can cause positioned children of the
container to appear above other positioned elements on the page when they
should not.

Affects: Internet Explorer 6.0, 7.0
Likelihood: Likely"

Please let me know if you have any info/knowledge about resolving this issue.
Thanks in advance.


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Need help with z-index error - 01-02-2009 , 12:50 PM






These errors mean that you have launched yourself down the wrong alley. DO
NOT USE ABSOLUTE POSITIONING as a layout tool. That means you must not use
layers to place your content on the page. Please read this to see how one
should build a page -

http://apptools.com/examples/pagelayout101.php


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"birdy2076" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi,

I'm an amateur at webdesign...pretty new to css and divs and need help
fixing
a z-index error i've been receiving in a site i'm creating. I've created 3
main
divs: header, content and footer and have additional divs within the
content
section. The problem shows in the three main divs H,C, and F and here's
what it
says:

"Positioned containers define a new stacking order, even when the computed
z-index of the container is auto. This can cause positioned children of
the
container to appear above other positioned elements on the page when they
should not.

Affects: Internet Explorer 6.0, 7.0
Likelihood: Likely"

Please let me know if you have any info/knowledge about resolving this
issue.
Thanks in advance.



Reply With Quote
  #3  
Old   
birdy2076
 
Posts: n/a

Default Re: Need help with z-index error - 01-02-2009 , 01:24 PM



Thanks Murray AC...but i've been using tables for about 2 years now and don't
really like it..it doesn't give me the flexibilty divs do.

I actually found a solution to the problem...i reset all of the z-index
properties in the 3 main divs to auto and it worked! That's what the error was
telling me to do..i guess i didn't catch it quickly. Thanks for responding. All
the best.


Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Need help with z-index error - 01-02-2009 , 01:34 PM



Quote:
Thanks Murray AC...but i've been using tables for about 2 years now and
don't
really like it..it doesn't give me the flexibilty divs do.
Sure it does, and it doesn't extract the pounds of flesh that using
absolutely positioned elements does (even though you don't know it at the
time). And by the way, I'm not suggesting you go back to tables, and I'm
not further suggesting that all divs are absolutely positioned.

Quote:
I actually found a solution to the problem...i reset all of the z-index
properties in the 3 main divs to auto and it worked! That's what the error
was
telling me to do..i guess i didn't catch it quickly. Thanks for
responding.
It's not likely this is a good solution, but happy new year!

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"birdy2076" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks Murray AC...but i've been using tables for about 2 years now and
don't
really like it..it doesn't give me the flexibilty divs do.

I actually found a solution to the problem...i reset all of the z-index
properties in the 3 main divs to auto and it worked! That's what the error
was
telling me to do..i guess i didn't catch it quickly. Thanks for
responding. All
the best.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.