Forum Moderators: not2easy

Message Too Old, No Replies

Link text colour

         

Geoffrey james

8:18 pm on May 30, 2006 (gmt 0)

10+ Year Member



Hi experts,

I have set my links up for a certain colour and to be underlined, but on my navigation bar I want them to be black and not underlined....I am having trouble changing then as when i set the URL they changed to the colour set in properties inspector.

How can i get this link text to be in colour i want it.

Thanks Geoff Boult

axgrindr

2:23 am on May 31, 2006 (gmt 0)

10+ Year Member



put the font color inside the tag?:

<a href="blabla.htm">
<font color="#009900">Blabla?</font>
</a>

adb64

6:32 am on May 31, 2006 (gmt 0)

10+ Year Member



Or use CSS. In the head section of the HTML file put something like:

<style type="text/css">
A.navlink {
color:red;
}
.text A {
color:blue;
}
</style>

And in your navigation HTML something like this:


<a class="navlink" href="somewhere">Navigation Link</a>

And in your main text


<p class="text">
...<a href="somewhere_else">Text Link</a>...
</p>