473,387 Members | 1,388 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,387 software developers and data experts.

z-index problem IE

I have been trying to get an image to sit in the background behind my
content div tag. I have nested two div's inside of another. The main
div has three images in it, one at the top, one at the bottom, and then
a tiled bg image. The tiled image sits fine in the background, but the
top image overlaps my text on IE.

www.mackenzieduncan.com/cci/preview5/main.html

The whole site works fine in Firefox and Safari on os 10.3 and 10.4. I
have also pasted the code in the window, oh and it also validates as
well.

Any help would be appreciated thanks in advance,
Mackenzie

-------CSS--------- ( those are the three divs I am having problems
with)

#div_image {
background: url('../img/middle.gif');
background-repeat:repeat-Y;
position: relative;
padding-bottom: -20px;
z-index: 2;
}

#content {
position: relative;
float: right;
padding-top: 2px;
padding-left: 5px;
padding-right: 5px;
width: 553px;
z-index: 3;
}

#leftnav {
width: 153px;
float: left;
position: relative;
z-index: 4;
}

------------ HTML -------------- ( i have put a note next to the image
causing problems)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"
/>
<title>Title in Here</title>

<style type="text/css" media="screen">

<!--

@import "css/style.css";

-->

</style>

</head>

<body>

<div class="container">

<div id="title">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash..cab#version=7,0,0,0"
width="726" height="87" id="section" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="section.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="section.swf" quality="high" bgcolor="#ffffff" width="726"
height="87" name="section" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

</div>

<div id="breadcrumbs">

<p>connections group > connections publishing > <a href="">home</a></p>

</div>

<div id="productbar">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash..cab#version=7,0,0,0"
width="718" height="175" id="sectionimage" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="sectionimage.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="sectionimage.swf" quality="high" bgcolor="#ffffff"
width="718" height="175" name="sectionimage" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

</div>

<!-- HERE IS THE BACKGROUND IMAGE DIV -->

<div id="div_image">

<img src="img/top.gif" alt="" /> <<--- FIRST IMAGE THAT SITS ON TOP

<div id="leftnav">

<p class="p_nav"><a class="nav" href="">About Us</a></p>
<p class="p_nav"><a class="nav" href="">Publications</a></p>
<p class="p_nav"><a class="nav" href="">Professional
Development</a></p>
<p class="p_nav"><a class="nav" href="">Symposium</a></p>
<p class="p_nav_sel"><img src="img/downarrow.gif" alt="" /><a
class="nav" href="">Online Journal</a></p>
<p class="p_subnav">
<img src="img/arrow.gif" alt="" /><a class="subnav" href="">Online
Journal</a><br />
<img src="img/arrow.gif" alt="" /><a class="subnav" href="">Next Link
Here</a><br />
<img src="img/arrow.gif" alt="" /><a class="subnav" href="">Third
One</a><br />
<img src="img/arrow.gif" alt="" /><a class="subnav" href="">Another
Link</a><br />
<img src="img/arrow.gif" alt="" /><a class="subnav" href="">Last
One</a><br />
</p>

</div>

<div id="content">
<h2>Publications</h2>
<p class="p_content">
Our readers tell us they appreciate how practical
our materials are while being thoroughly grounded in
current research and theory.
</p>
<p class="p_content">
Read a synopsis of each book by clicking on the book
title in either the <a href="teaching_resources/">Teaching
Resources</a> section or the <a
href="assessment_resources/">Assessment
Resources</a> section. If you think a certain book
may interest you, simply click on the "Add to Cart"
button. You can view this
shopping cart at any time by clicking on the
<a href="../view_cart">View Cart</a> link in the top right corner of
the browser.
</p>
<p class="p_content">
When you are ready to have your order processed,
click on the <a href="../view_cart">View Cart</a> link and follow the
easy
step-by-step instructions. We do not ask for any
kind of credit card number or banking details during
this process. Within a few days of sending
your order through to us, we will send you more
details about your order and a billing invoice.
</p>
<p class="p_content">
Our readers tell us they appreciate how practical
our materials are while being thoroughly grounded in
current research and theory.
</p>
<p class="p_content">
Read a synopsis of each book by clicking on the book
title in either the <a href="teaching_resources/">Teaching
Resources</a> section or the <a
href="assessment_resources/">Assessment
Resources</a> section. If you think a certain book
may interest you, simply click on the "Add to Cart"
button. You can view this
shopping cart at any time by clicking on the
<a href="../view_cart">View Cart</a> link in the top right corner of
the browser.
</p>
<p class="p_content">
When you are ready to have your order processed,
click on the <a href="../view_cart">View Cart</a> link and follow the
easy
step-by-step instructions. We do not ask for any
kind of credit card number or banking details during
this process. Within a few days of sending
your order through to us, we will send you more
details about your order and a billing invoice.
</p>

<p class="p_content">
You are also welcome to call us (toll free in North America at
1-800-603-9888, or from anywhere at 1-250-703-2920) Monday to Friday
from 8:30 A.M. to 5:00 P.M. Pacific Standard Time and place an order or
download one of the following order forms, fill it out, and mail or fax
your order to us.
</p>

</div>

<img src="img/bottom.gif" alt="" valign="bottom" />
</div>

<!-- HERE IS THE BACKGROUND IMAGE DIV -->

<div id="copyright">

copyright © 2005 Connections Group - <a href="">Privacy Policy</a> -
<a href="">FAQ</a> - <a href="">Contact</a>

</div>

</div>

</body>
</html>

Jul 21 '05 #1
0 6990

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...
5
by: Razzbar | last post by:
I'm using a div as a floating dialog box. I'd rather use a popup window, but due to all the popup blockers in use, I have to use another method, a div that has absolute positioning. The damn...
0
by: torchestra | last post by:
I have two activex object. I have to different classes; one with z-index:2000 and one with z-index:1. Both classes have absolute positioning and left and top set to 0. The two objects is located...
0
by: torchestra | last post by:
I have two activex object. I have to different classes; one with z-index:2000 and one with z-index:1. Both classes have absolute positioning and left and top set to 0. The two objects is located...
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...
1
by: Sabbaath | last post by:
But haven't really found anything that answers the issue. Basically, I have a js function that has these lines in it, among others: var navSectionBg = document.getElementById("mainNav_" +...
2
by: zz2uk1 | last post by:
Im trying to show a text box above a div in a simple webpage. Im viewing in IE 7 and Chrome and the text box is always below the div, although I have set the zIndex fairly high. I have included...
1
by: gandhi.vishal | last post by:
Hello, I have an issue. I'm not seeing the reportviewer data at all. The column names come up fine but there is no data in the report table. Here is what I'm doing I created a dataset with the...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.