...

View Full Version : Please help ! My hrefs are not working !



jeddi
10-20-2006, 07:17 PM
Hello,

For some reason my nav links are not working but I can't see the problem !!!

My site is online at : www.yodbod.com

Once there please hit one of the menu buttons
EG "Local Services"

The problem is with the Offered and Wanted buttons and the Page links.

In IE its ok - they work but in FF Moz they are not working
:confused:
By looking at the code source can you see why my the don't work ?

Thanks for help. :)

VIPStephan
10-20-2006, 08:02 PM
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/blinyky/public_html/examples.php on line 22
Couldn't connect to server.
.....

jeddi
10-20-2006, 08:43 PM
Dont know why you get that - server & sql working fine for me ?????

VIPStephan
10-20-2006, 10:10 PM
Now it's working.
Add z-index: 1; to the absolutely positioned divs containing the links.

jeddi
10-21-2006, 06:50 AM
Clever you !! :thumbsup:

OK I got the pictures and text working using z-index: 1;
ALSO the Offered & Wanted works -

BUT the page buttons don't work yet :o

What do you recommend ?

BTW
Can you please tell me why the z-index makes it work ?

I have never really used this z-index before :o

What if I set it to:
z-index: 2; ?
or z-index: 300; ?
or z-index: f; ?

What would that do ?

Thanks for your advice :)
:thumbsup:

jeddi
10-21-2006, 06:48 PM
Sorted - thanks

VIPStephan
10-22-2006, 01:14 PM
z-index determines how positioned (-> absolute, relative, or fixed) elements are layered above each other. The higher the z-index the more on top is the element. Letters aren't valid values.

<?austin ?>
10-22-2006, 10:08 PM
so z index is like a layer?

so:


#bottomlayer {
background: red;
z-index: 1;
}

#toplayer {
background: blue;
z-index: 2;
}
+-----+

<div id="bottomlayer">im ontop yo!</div>
<div id="toplayer">no! i am!</div>?

that is how i understand it. so could i have the top layer under the bottom layer but it still displays ontop?


<div id="toplayer">no! i am!</div>
<div id="bottomlayer">im ontop yo!</div>

VIPStephan
10-22-2006, 10:24 PM
Yes, it doesn't matter where in the source code the element is but z-index only works if you also apply position: absolute/relative/fixed; (one of the three values at a time) to the element(s). Without positioning nothing will happen.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum