Pedro Martinez: I do not speak German!

Beitrag lesen

You are great!

This forum is the best of the internet! I think I have to learn German in order to understand all the questions!

Thank you Christian for your help! It's working!!

Thanks a lot!

My questions ist: How can I get that some links take another color and none-decoration. The futher links of the pages have another color and decorations. All this in an external CSS file.

The best way to change the parameters of only a few links is to define separate classes for different links in your extern CSS-file:

e.g.:

a.red:link { color:red; text-decoration:none; }a.red:visited { color:red; text-decoration:none; }a.red:active { color:red; text-decoration:none; }
a.red:hover { color:red; text-decoration:none; }

To use this class in your links, you have to put it into the a-TAG: <a href="abc.htm" class="red"...

Of course, you can also use this method in other constellations. Your existing links aren't influenced by this special classes.