SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2002
    Location
    Lake Tahoe
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Navigation: tab rise up on rollover

    I'm trying to get my navigation working so that when a person rollover the item the top rises above the other ones 10-20 pixels.

    Trouble I'm seeming to be having is trying to get the bottom act as the anchor point and the text staying inline with the others.

    http://174.121.224.249/~izzysbur/

    Any suggestions?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,299
    Mentioned
    460 Post(s)
    Tagged
    8 Thread(s)
    How about this:

    Code:
    .menu a:hover {margin-top:-30px;}
    That worked for me in testing.

  3. #3
    SitePoint Member
    Join Date
    Aug 2002
    Location
    Lake Tahoe
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ralph.m View Post
    How about this:

    Code:
    .menu a:hover {margin-top:-30px;}
    That worked for me in testing.
    ha thanks! Guess it was easier than I though and made it out to be.


Bookmarks

Posting Permissions

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