Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

CSS Expert


Recommended Posts

Hi guys,


Is it possible for me to define general


A {
 color: #000000;
 text-decoration: none;

A:hover {
 color: #0000FF;
 text-decoration: underline;

A:active {
 color: #0000FF;
 text-decoration: underline;


then I want something different link colour and font style for a table???

Link to comment
Share on other sites

Yes. For a good css tutorial see:



/* CSS */
a { color: #000000; text-decoration: none; }
a:hover { color: #0000FF; text-decoration: underline; }
a:active { color: #0000FF; text-decoration: underline; }

table#differentLinks a { color: #666; text-decoration: none; } 
table#differentLinks a:hover { color: #999; text-decoration: underline; }
table#differentLinks a:active { color: #666; text-decoration: underline; }

/* HTML */
<a href="">This will be using your general styles</a>

<table id="differentLinks">
     <a href="">This will be using you table styles</a>

Perdure - Transparent Object Relational Persistence
Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...