Jump to content

z-index on images not working


laPistola

Recommended Posts

Basic im doing tabs for the links in my clients website but z-index isn't doing anything at all???

 

when the page loads im trying to change the layer order of the tabs as they over lap but not in the order i would like them.

 

here is here the code

 

<div id="mainNav">
      	<a href="../index.php" title="Owen Williams Loughborough Home Page" onmouseover="rollOver('homeImg',0)" onmouseout="rollOver('homeImg',1)"><img src="../images/homeButt.png" alt="Owen Williams - Joinery and Building Services" name="homeImg" width="77" height="30" id="homeImg" style="z-index:400;" /></a>
        <a href="../services.php" title="Owen Williams Loughborough Home Page" onmouseover="rollOver('servicesImg',0)" onmouseout="rollOver('servicesImg',1)"><img src="../images/servicesButt.png" alt="Owen Williams - Joinery and Building Services" name="servicesImg" width="96" height="30" id="servicesImg" style="z-index:3;" /></a>
        <a href="../testi.php" title="Owen Williams Loughborough Home Page" onmouseover="rollOver('testiImg',0)" onmouseout="rollOver('testiImg',1)"><img src="../images/testiButt.png" alt="Owen Williams - Joinery and Building Services" name="testiImg" width="128" height="30" id="testiImg" style="z-index:3;" /></a> 
        <a href="../contact.php" title="Owen Williams Loughborough Home Page" onmouseover="rollOver('contactImg',0)" onmouseout="rollOver('contactImg',1)"><img src="../images/contactButt.png" alt="Owen Williams - Joinery and Building Services" name="contactImg" width="113" height="30" id="contactImg" style="z-index:1; margin-right:30px" /></a>
      </div>

 

Nothing anywhere is controlling the z-index, i have even taken out the zIndex in my JS script.

 

Thank you before hand.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.