PDA

View Full Version : changing link font


Karkar
05-10-2007, 12:29 PM
How do I stop the font colour and underlining of my text when i link it???? I want it to just stay the same.

chriskq
05-10-2007, 12:37 PM
easy. define all links in your site in your css code. you do this by linking to the .css file in your head tags of your page

eg:<link rel="stylesheet" href="common/styles/aius.css" type="text/css" />

now in your css file define

a, a:link {
color: #00327d;
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #00327d;
}
and that covers all links.
of course you can target specific links within a certain table or div by adding a class to the <a> tag