Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font colour and CSS?

Status
Not open for further replies.

Huitzilopochtli

Programmer
Feb 18, 2002
81
DE
Hello

I have the following <style> script which aligns the text:

<style TYPE=&quot;text/css&quot;>
.just {text-align: justify;}
body
{
color: rgb(255,255,255)
}
</style>

and the text colour is white - which is also what I want.

But I also have a link on the page which is a sort of brown colour and I don't seem to be able to get rid of it - despite the above <style> 255, 255, 255 (white) value.

I was hoping to have the link in white also, and wonder if anybody could point out what I might be doing wrong here.

Many thanks

Huitzil
 
Hi,

<style type=&quot;text/css&quot;>
a:link { color: rgb(255,255,255) }
a:active { color: rgb(255,255,255) }
a:visited { color: rgb(255,255,255) }
a:hover { color: rgb(255,255,255) }
</style>

That is what you want, except sub in the visited and hover colors that you want, (if you want those)

Hope this helps!
relax.gif

 
Hello SPYDERIX

Thank you for your reply.

It works just fine - just what I wanted.

I'd better start reading up on CSS now!

Best wishes

Huitzil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top