3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by leakbali
0

Give each set of links a class and then use CSS.


For basic links/Body links as you called them

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris  nisi ut aliquip ex ea commodo consequat. <a href="http://URL/">link in text</a>  Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The CSS

a {
    color: color;
}

For links in your div tab

<a class="divTab" href="http://URL/">Link 1</a>
<a class="divTab" href="http://URL/">Link 2</a>
<a class="divTab" href="httpL//URL/">Link 3</a>

The CSS

a.divTab {
    color: color;
}

If you don't understand just let me know.

Regards
Arkinder

0

You may try this, same like the way above for the link in body you can use css like this

a{color : #FF0000; text-decoration : underline}

the html example

this is a <a href="http://www.leakbali.com">link</a>. this is a link. this is a link. this is a link. this is a link. this is a link. this is a link.

For another link in different element, such div element,

the CSS

div a{color : #00FFFF; text-decoration : underline}

the html example

<html>
<body>
<div>this is a  <a href="http://www.leakbali.com">link</a> this is a link</div>
</body>
</html>

Edited by leakbali: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.