The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hi there, I noticed in another post that it is possible to have multiple link types using CSS. Is this done by using multiple A:link tags or by specifying a defult with A:link etc, and then having custom span tags for others?

I have tried to last of these two, but it did not seem to work. Maybe it is because I am using tables?

When you want your link to utilize these attributes, just use the following code <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>&lt;a class="nav" href="this_page.html"&gt;text here&lt;/a&gt;[/code].

If you don't specify a class, then the attributes would be your default. When you put in your links, you would do it just like normal HTML.

Does this help?

You can also reference a page for us to see. Maybe you've missed something along the way.

Ok, I tried out those things using only external styles and they worked. BUT.. for some reason, all atributes of my default link properties work (hover, active, visited), however, the actual link colour does not.

When I cut the same properties from the external style sheet and put them as internal styles (for the default links only, all other styles stay as external), it all works (including the additional classes I have added).

Problem is, the same code which works fine with internal styles does not work when put in external style. However, All styles except the default link colour work. (including the hover, visited properties for the default link type)