Jump to content

[SOLVED] a:hover... to the left.


chordsoflife

Recommended Posts

Hey all,

 

I'm trying to make my navigation add some to the left when hovering/selected, but I'm not sure how to tell it to do that.

 

Here's the link (I'm going to keep trying so god knows what it'll look like when this is being read):

http://www.test.burlingtonunderground.com/team.php

 

Here's the code:

#teamMenu { float: right; border: #FF0000 solid 1px; margin-right: -16px; }
#teamNav dd { height: 36px; }
#teamNav a, #teamNav a:visited { display:block; color:#fff; padding:5px 5px 5px 20px; background: #323232; width:125px; }
#teamNav a:hover { display:block; padding:5px 5px 5px 20px; background: #323232; width: 135px;}

 

<div id="teamMenu">
<dl id="teamNav">
	<dd><a href="#" title="Wallpaper">Desktop Wallpaper</a></dd>
	<dd><a href="#" title="Stickers">Stickers</a></dd>
	<dd><a href="#" title="Accessories">Accessories</a></dd>
</dl>
</div>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.