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 not functioning

Status
Not open for further replies.

Huitzilopochtli

Programmer
Feb 18, 2002
81
DE
Hello

I have a Web page here:


When a visitor complete a form, an asp page says 'Thank you + name of visitor'. This works. At the bottom of the page the visitor has the choice of going to the home page or going 'back'. These are links. I am trying to get these links to be the same colour as the rest of the page (white) using the following:

<head>

<style type=&quot;text/css&quot;>
BODY {color: #FFFFFF;}
</style>

<style>
A:link, A:visited, A:active { text-decoration: none }
</style>

<title>Thank you!</title>
</head>

but the brower (IE) disregards the #FFFFFF and shows one link in a sort of dark green colour and another link in bright blue!

How may I get around this?

Many thanks for any advice!

Huitzil
 
<style>
a:link {color:#FFFFFF;}
a:active {color:#FFFFFF;}
a:visited {color:#FFFFFF;}
</STYLE>
 
if the above doesnt work try this one

<style type=text/css>
A {
text-decoration:none;
color:black;
font-family:verdana;
}
A:link {
COLOR: #FFFFFF
}
A:visited {
COLOR: #FFFFFF
}
A:hover {
COLOR: #FFFFFF
}
</style>

Lets you specify font and if its underlined or not.
 
Hello theredqueen and MrNegative

Very many thanks to you both for your posts. Both of them work!

I'm very grateful.

Thanks again

Huitzil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top