The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image above menu item on hover

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #35681

    Hi everyone,

    I was wondering what I would have to do to get an image to be above an in-line horizontal menu when it is is hovered upon.

    Here is my css so far, right now on hover I have it changing color with text-shadow. I would like to keep that along with the image above. I have seen some tutorials using about using spans but nothing worked. Thanks in advance!

    .nav ul{list-style-type:none;
    margin:0 auto;
    padding:0; width:600px; height:50px; padding-left:500px; padding-top:100px}
    .nav li {display:inline; padding-right:15px }
    .nav a {text-decoration:none; color:white;}
    .nav a:hover {color: #0C0; text-shadow:2px 2px 2px white;}


    Would you mind linking to all of your code? Perhaps using That way we don’t have to create it from scratch for you.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.