Jump to content
Sign in to follow this  
ShadyCoco

CSS a.menulink problem?

Recommended Posts

Hey.

I jsut started learning CSS and have a little problem.

Heres my css:

a.menulink{
background-image: url("template/images/menulink.png");
width: 162px;
height: 32px;
}

a.menulink:hover{
background-image: url("template/image/menulinkover.png");
width: 162px;
height: 32px;
}

 

And here's where it's been used:

<td><div class="menucontent">
	</br><center><div class="menulink"><a href="page1.php">Test</a></div></center>
	</div></td>

 

It don't seem to show my hover image or the background image...

 

Any help would be great.

thanks

Share this post


Link to post
Share on other sites

The table is there for my 3 main parts...

menu left and right and a center for the content...

And I didn't ask about my table just my CSS...

 

try removing the a

:) thanks man

Edited by ShadyCoco

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Sign in to follow this  

×
×
  • Create New...