473,473 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

A:hover not working-- Problem with div's with z-index

5 New Member
Hi. I am developing a website with a "footer" that has some text and a link.

I am using a div with absolute positioning. An example of the footer working properly can be seen in the bottom-right of this page.

If you click on the first link of the navigation menu, "never been wetter", you'll see that the footer is still there but the link with my name, Colby Miers, no longer works. I set the z-index of the div to -1 so the div wouldn't appear above the photos, so I think there's some complication with that.

Even so, the div works fine in the home page (same CSS class) and appears behind the main image (If you make the window small enough you'll see the text of the footer goes behind the image rather than on top of it).

Is there a way to make the link clickable? Why is there a piece of "invisible glass" over my div in this situation? I think it has something to do with the img's but I'm not sure.

Thanks in advance for any help you can provide!

Here is the relevant code in the CSS:
Expand|Select|Wrap|Line Numbers
  1. .copyright { 
  2.      position:fixed; 
  3.      bottom:15px; right:25px; 
  4.      font-family: arial; 
  5.      font-size:11px; 
  6.      color:#ccc; 
  7.      line-height:165%; 
  8.      z-index:-1; 
  9.      text-align:right;
  10. }
  11.  
  12. a.designer {
  13.     text-decoration:none;
  14.     font-family:'Arial', Serif;
  15.     font-size:11px;
  16.     color: #999; 
  17. }
  18.  
  19.  
  20. a.designer:hover {
  21.     text-decoration:none;
  22.     color: #33CC99;
  23. }
Here is the relevant code in the HTML:

Expand|Select|Wrap|Line Numbers
  1. <div class="copyright">
  2. &copy; 2010 Ian Stanton. All rights reserved.<br />
  3. Site by <a href="http://colbymiers.com" target="_blank" class="designer">Colby Miers</a>
  4. </div>
May 7 '10 #1
2 3442
drhowarddrfine
7,435 Recognized Expert Expert
Yes, setting the z-index is causing the problem.
May 7 '10 #2
ColbyMiers
5 New Member
I understand that but why is it working fine in some pages ( the hom page ) but not so in others? Isn't there a way to get it to work in all pages?
May 7 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Spondishy | last post by:
Hi, I've been playing around with divs, but I've been having issues creating layouts that work in both IE and Firefox. I'm trying to create a layout similar to the following table: <table...
3
by: S. van Beek | last post by:
Dear reader, To work with linked tables is a professional method of working with a frond end and back end mdb. Working with linked tables on a local pc gives an acceptable performance but...
2
by: S. van Beek | last post by:
Dear reader, By working with a frond-end and back-end databases with the use of linked tables the performance, if both mdb's are on a local drive is reasonable. But in case the backend is...
8
by: Hardy Wang | last post by:
Hi: Is it possible for me to create/open web application from remote machine other than port 80? And create application directly under virtual web site instead of creating a virtual directory?...
1
by: Magnus Blomberg | last post by:
Hello! When loading a path with spaces to Image.ImageURL from an SQL database, the picture is not shown. The path in the Image becomes Xxxxxx%2520xxx and is not working. In another application...
6
by: Matt Frame | last post by:
I have a client that has asked us to get a digital signature certificate and start digitally signing all files we pass between each other. I have heard of the subject and know about the certs but...
6
by: Michael Trausch | last post by:
Hello everyone, I'm having a little bit of trouble trying to implement some arithmetic logic into an application that I'm working on, and I'm hoping that somebody can possibly point me in the...
3
by: PeterKellner | last post by:
I have a project where a html designer gives me a pile of html to wire up. I do that and it works fine of course. Then, the html designer makes a bunch of changes, give me back the revised aspx...
1
by: pbak | last post by:
Hai! I am working with INET Control in Vb(Internet transfer Control) Actual Domain Recieving Data from Weighing Scale I connected Weighing Scale to PC using Cross network...
1
by: cma6 | last post by:
I have a page which uses tables for layout http://www.vintagetextile.com/1920s_to_1930s.htm The checkerboard pattern is achieved with this markup: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML...
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,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.