link html code for color?

Renee

New member
I'm using a <a href="http://twitter.com/">Twitter</a> code to add a link to my tumblr page, but the link is in white and sticks out,
is there anything I can add to it so i can change the link color?:)
 
You could use CSS which is more stable IMO xD
In the <head></head> area, just type.

<style type="text/css">
.style1
{
color: white
background-color: black
}
</style>

And then in <body>, do this.

<a style="style1" href="www.google.com">google</a>

So in all, you have this

<head>
<style type="text/css">
.style1
{
color: white
background-color: black
}
</style>
</head>
<body>
<a style="style1" href="www.google.com">google</a>
</body



That will take the style from CSS, and you can then use it multiple times. CSS can do more, such as animations etc. Look up CSS3 Transition effects for more information :)
 
You could use CSS which is more stable IMO xD
In the <head></head> area, just type.

<style type="text/css">
.style1
{
color: white
background-color: black
}
</style>

And then in <body>, do this.

<a style="style1" href="www.google.com">google</a>

So in all, you have this

<head>
<style type="text/css">
.style1
{
color: white
background-color: black
}
</style>
</head>
<body>
<a style="style1" href="www.google.com">google</a>
</body



That will take the style from CSS, and you can then use it multiple times. CSS can do more, such as animations etc. Look up CSS3 Transition effects for more information :)
 
Back
Top