Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS Expert


speed2

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:

http://www.westciv.com/style_master/academ...rial/index.html

 

/* 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">
 <tr>
   <td>
     <a href="">This will be using you table styles</a>
   </td>
 </tr>
</table>

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

Archived

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

×
×
  • Create New...