speed2 Posted March 22, 2004 Share Posted March 22, 2004 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 More sharing options...
Brenden Posted March 22, 2004 Share Posted March 22, 2004 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 More sharing options...
speed2 Posted March 23, 2004 Author Share Posted March 23, 2004 Hey Brenden Amazing!!! its worked! thanks a LOT brother! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.