#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    200
    Rep Power
    11

    Is it possible (CSS question) ......


    OK .. I have 5 layers surrounding each one of my menu links .. the layer over-laps another layer with the main content in. Now if you look here you will see what i mean ....


    http://www.geocities.com/jezman2002/index.html

    You can see four of the layers but the top one i need to be black AFTER it crosses the line !!!! Do u see what i mean

    I just wondered if there was any easy way to do this ???

    -Thanks-
  2. #2
  3. Resident DJ
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    283
    Rep Power
    14
    set the z-index to a higher value than the z-index of the content block

    eg:

    div#links a {
    display: block;
    font: bold 0.7em sans-serif;
    padding: 3px 25px;
    margin: 0 0 2px;
    border: solid #EED;
    border-width: 1;
    text-decoration: none;
    color: #FFC;
    z-index:10;
    }
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    200
    Rep Power
    11
    i couldnt get it to work for some reason ??
  6. #4
  7. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    set z-index:10; to div#links {..}
    and set a background:#000; to div#links a {..}

IMN logo majestic logo threadwatch logo seochat tools logo