html - How to give 2 different Hyperlinks in css different colors -


my aim hyperlink displayed in green color. have given hyperlink class .ueberschrift_name.

i tried change color css , html no luck. want change color of existing hyperlink white green. hope can give me hint how solve problem me.

add "ueberschrift_name" class html element. add following:

css:

.ueberschrift_name{     color: red; } 

html:

<a href="default.asp" class="ueberschrift_name" target="_blank">this link</a> 

jsfiddle: http://jsfiddle.net/zlofsecl/


or - can use inline styles:

<a href="default.asp" style="color: red;" target="_blank">this link</a> 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -