Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Strange behaviors involving div tags and z-index order in IE.
Old 10-29-2008, 04:03 PM Z-Index issue btw browsers (fixed) & now positioning issues btw different browsers
Junior Talker

Posts: 3
Trades: 0
Hello,

I'm making a website that uses absolute positioned divs (inside a relative div, so as not to disturb the rest of the layout) to control the order of info that pops up on the site. Basically, I have a floating navigation bar with a few tabs to click (on z-index:15), and when you click on any of those tabs, it shows a different div with those same tabs, except the one you clicked on is now selected. It also shows an RSS feed underneath the tabs (positioned around z-index:4-9) so that the tabs appear to sit on the top bar of the RSS feed. I have it set up so the navigation bars are all positioned above the rss feeds in z space. This works beautifully in Firefox and Safari.

The problem is when I view it in IE, I get strange problems. In IE, the positions of the layers are all correct (that took some effort) but the layer order is messed up. On the rss box on the right side of the site, the rss boxes appear over the navigation bars, and on the other place for rss content, the navigation bar appears to be completely invisible, yet it is still there (you can rollover the space where the tabs should be, click on them, and the rss feed still updates below). I am not sure why this is happening.

The site to look at is http://www.hargray.com/portal/portalindex2.html

Please view in FF and then IE to see the difference in behaviors happening. Any help is greatly appreciated. I hope I can enter some IE exception code or move a couple of things around for a "quick" fix to this issue.

Thanks all for your help.

Last edited by jstelt21; 10-30-2008 at 02:23 PM..
jstelt21 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2008, 02:22 PM Re: Z-Index Order (fixed) and now positioning issues between different browsers
Junior Talker

Posts: 3
Trades: 0
Nevermind,

I solved the problem by fixing the parent layers to reflect the layer order, not just the ap divs in those layers. And I moved the relative positioned parent layers to different parts of the website and gave each child layer its own parent layer. Not sure if I'm describing it correctly, but whatever I did worked.

Now I'm dealing with position issues between browsers, where some will just be off the mark in different browsers. Before the z-index issue, this was the issue, except Safari was perfect, FF was a little off and IE was way off. Now FF and IE agree and are off by the same amount, but are different from Safari.

This is frustrating. Fixing one problem causes another to emerge.
jstelt21 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2008, 03:08 PM Re: Strange behaviors involving div tags and z-index order in IE.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It is well known that IE6 has some egregious issues with absolute positioning, and it gets worse the more you nest AP divs. You're best bet is to avoid all that positioning in the first place as it's rarely necessary.

http://www.positioniseverything.net/posbugs.html
http://www.positioniseverything.net/abs_relbugs.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-30-2008, 03:49 PM Re: Strange behaviors involving div tags and z-index order in IE.
Junior Talker

Posts: 3
Trades: 0
It was necessary to me because I don't know how else to place content over a piece of script that loads a widget from another site.

It's ok though, I fixed the issue by moving stuff around until it worked.

Thanks for the links though.
jstelt21 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Strange behaviors involving div tags and z-index order in IE.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29852 seconds with 12 queries