Jump to content

Hover style in table


mg3ddesign

Recommended Posts

Hi There

I have added a table to the copyright section in my cubecart store

http://shabbystore.co.uk

I do not seem to be able to add a style to it to give a hover colour to the links. If I add the style to the table it does it when you hover over the table and there does not seem to be an option to do an inline style to hover for the text.

Any suggestions would be very much appreciated.

Link to comment
Share on other sites

You can't do inline hover styles - :hover is a pseudo-class and only works in a stylesheet. You would need to add the following either to your stylesheet, or inside <style> tags within your code:

#copyright table a{

color:#fff;

}

#copyright table a:hover{

color:#[your_colour_here];

}

and remove the inline white colour you currently have.

Link to comment
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.

×
×
  • Create New...