views:

74

answers:

1

I've got a site I'm building here:

http://theoew.50webs.com/portfolio_2/

See how when you hover over the menu at the top right, the item becomes taller(20px to 50px). I was wondering if I could do the same thing but have the text move with the list. So when you hovered over the list item, it would enlarge and the text would move to the bottom of the li.

Any thoughts?

If this doesn't make any sense just say so in the comments and I'll try to explain it a little more clearly. Also, what do you think of the site? (This is my first site I've built for use so I was just wondering...So far I've only done the home page.)

+2  A: 

Try adding a margin to the links:

li.active a { display: block; margin-top: 20px; }

skybondsor
how would that help? I want the text to move with the li as it enlarges. The code I am looking for would have to be some jquery javascript code.
codedude
Ah, I see what you mean. Try just animating the padding of the li's:$("#nav li.norm").mouseover(function(){ $(this).stop().animate({padding:'50px'},{queue:false, duration:600, easing: 'easeOutBounce'}) }); That will increase both the height and the distance of the links from the top in one fell swoop.
skybondsor
Thanks...that worked!
codedude
hey codedude,if skybondsor's answer worked, why dont you give it the big green checkmark?
Sir David of Lee