473,394 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Z-index I.E versus Firefox

Hi. New here.

I have a xhtml with two footers at the bottom. The style sheet has.

Footer1 is a div and a container for two more divs: #webmaster and
#links. #webmaster floats left and #links floats right. Both #webmaser
and #links has words written in the Div. The Z-index in footer1 is
200. Footer1 position is relative.

Footer2 is a div and a container for two more divs #plant1 and
#plant2. #plant1 is absolute postion bottom left and #plant2 is
absolute position bottom right. Footer2 has a Z-index of 100.

The plant in footer2 overlaps into footer1 which is what I want. Since
footer1 has a higher z-index I thought the words in #webmaster and
#links would be on top of the plant. Actually in Firefox this is the
case -- Firefox displays it the way I want.

However, I.E. it is a different story. Even though footer1 has a higher
z-index the words are below the plant. How do I get the the words to be
on top of the plant in I.E.? Any clue? I have searched the net and
found none.

thanks in advance for any help.

Jul 21 '05 #1
1 13362
me
"steve" <re********@hotmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi. New here.

I have a xhtml with two footers at the bottom. The style sheet has.

Footer1 is a div and a container for two more divs: #webmaster and
#links. #webmaster floats left and #links floats right. Both #webmaser
and #links has words written in the Div. The Z-index in footer1 is
200. Footer1 position is relative.

Footer2 is a div and a container for two more divs #plant1 and
#plant2. #plant1 is absolute postion bottom left and #plant2 is
absolute position bottom right. Footer2 has a Z-index of 100.

The plant in footer2 overlaps into footer1 which is what I want. Since
footer1 has a higher z-index I thought the words in #webmaster and
#links would be on top of the plant. Actually in Firefox this is the
case -- Firefox displays it the way I want.

However, I.E. it is a different story. Even though footer1 has a higher
z-index the words are below the plant. How do I get the the words to be
on top of the plant in I.E.? Any clue? I have searched the net and
found none.

thanks in advance for any help.


If you're sure the words in footer1 are below plant then something is wrong.
In the example below footer1 has a z index of 200 it's two divs are above
the divs in footer2 which has a z index of 100. I use IE6
See below:
Good Luck,
me

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF">
<div id="footer1" style="position:absolute; width:200px; height:115px;
z-index:200">
<div id="webmaster" style="position:absolute; width:200px; height:115px;
z-index:1; left: 91px; top: 5px; background-color: #CCFFCC;
layer-background-color: #CCFFCC; border: 1px none #000000">webmaster</div>
<div id="links" style="position:absolute; width:200px; height:115px;
z-index:2; top: 29px; left: 139px; background-color: #FFFFCC;
layer-background-color: #FFFFCC; border: 1px none #000000">links
</div>
</div>

<div id="footer2" style="position:absolute; width:200px; height:115px;
z-index:100; left: 25px; top: 62px">
<div id="plant1" style="position:absolute; width:200px; height:115px;
z-index:1; left: 27px; top: 4px; background-color: #CCCCFF;
layer-background-color: #CCCCFF; border: 1px none #000000">plant1</div>
<div id="plant2" style="position:absolute; width:200px; height:115px;
z-index:2; background-color: #FFCCCC; layer-background-color: #FFCCCC;
border: 1px none #000000; top: 47px; left: -15px">
<p>plant2</p>
</div>
</div>
</body>
</html>
Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: JohnDpatriot | last post by:
After installing XP SP2 on my machine, I continually get the Script Error permission denied when I attempt to adjust the Zindex of an object on the page . see below ...
22
by: DJ WIce | last post by:
Hi, I'm looking for a script to get the hi-est z-index on a page. I want my javascript menu to be always on top of the page (moves along on top when you scroll down). Does anyone know how to...
1
by: KiwiBrian | last post by:
On my page at http://www.hibiscuslink.co.nz/rbsl/ when viewed in IE6 there is a desired dark brown border surrounding the horizontal menu. When viewed in FF the border seems to only be displayed...
2
by: reynoldlariza | last post by:
Can somebody please help me, i tried playing around with IE6 and Firefox 2.0 browser for setting zIndexes and hide & show of divs. It seems to work to both. I tried repeatedly clicking on different...
28
by: Wladimir Borsov | last post by:
The HTML source of one of my web pages starts simplified with a code like: ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ..... <BODY BACKGROUND="images/myback.gif"> <div...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
1
Claus Mygind
by: Claus Mygind | last post by:
How come I can set this style element document.getElementById("popTime").style.left = "0px"; but not this document.getElementById("freqJobDiv").style.zIndex = "20"; I have two nested...
1
by: bob2044 | last post by:
offsetHeight is not working in following code <script type="text/javascript"> function Coverdiv() { var standard=(document.compatMode=="CSS1Compat") ? document.documentElement:document.body;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.