Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,680
    Thanks
    28
    Thanked 4 Times in 4 Posts

    Please help ! My hrefs are not working !

    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

    By looking at the code source can you see why my the don't work ?

    Thanks for help.
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,726
    Thanks
    6
    Thanked 1,013 Times in 986 Posts
    Quote Originally Posted by http://yodbod.com
    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.
    .....

  • #3
    Senior Coder
    Join Date
    May 2006
    Posts
    1,680
    Thanks
    28
    Thanked 4 Times in 4 Posts
    Dont know why you get that - server & sql working fine for me ?????
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,726
    Thanks
    6
    Thanked 1,013 Times in 986 Posts
    Now it's working.
    Add z-index: 1; to the absolutely positioned divs containing the links.

  • #5
    Senior Coder
    Join Date
    May 2006
    Posts
    1,680
    Thanks
    28
    Thanked 4 Times in 4 Posts
    Clever you !!

    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

    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

    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
    Last edited by jeddi; 10-21-2006 at 05:38 PM.
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #6
    Senior Coder
    Join Date
    May 2006
    Posts
    1,680
    Thanks
    28
    Thanked 4 Times in 4 Posts
    Sorted - thanks
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  • #7
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,726
    Thanks
    6
    Thanked 1,013 Times in 986 Posts
    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.

  • #8
    Registered User
    Join Date
    Oct 2006
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so z index is like a layer?

    so:

    Code:
    #bottomlayer {
    background: red;
    z-index: 1;
    }
    
    #toplayer {
    background: blue;
    z-index: 2;
    }
    +-----+
    Code:
    <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?

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

  • #9
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,726
    Thanks
    6
    Thanked 1,013 Times in 986 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •