Hi, new here and am a HTML beginner level programmer. I am trying out experiments and although they seem simple, they dont work and r making me quite frustrated. Pls help me if u can, thanks.
I am trying to create a link with no underline with different colors for link(ffffff), active
(orange ff6666), visited (maroon 993333) on a reddish BG (cc6666) but i am having problems with the way it works.
code used:
<html>
<head>
<style type="text/css">
<!--
a:link {text-decoration:none;color:#ffffff}
a:visited {text-decoration:none;color:#993333}
a:active {text-decoration:none;color:#ff6666}
-->
</style>
</head>
<body bgcolor="#cc6666" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0" text="#ffffff">
<a href="contact.htm">
<font face="arial" size="1">Contact</font>
</a>
</body>
</html>
problem:
in NS 4.x: the link is white, briefly turns orange when u click on it, and remains orange as long as u r on that page (active), BUT does NOT become maroon after visited. when u bring up the page again, link remains white.
In IE 5.5: link is white first, briefly turns orange when u click on it, and remains orange as long as u r on that page (active), becomes maroon after visited. BUTwhen u bring up the page again, link remains MAROON and not white which is what i want.
I am quite sick of browser issues and i have just started out.
What can i do?
Thanks,
Als2002
I am trying to create a link with no underline with different colors for link(ffffff), active
(orange ff6666), visited (maroon 993333) on a reddish BG (cc6666) but i am having problems with the way it works.
code used:
<html>
<head>
<style type="text/css">
<!--
a:link {text-decoration:none;color:#ffffff}
a:visited {text-decoration:none;color:#993333}
a:active {text-decoration:none;color:#ff6666}
-->
</style>
</head>
<body bgcolor="#cc6666" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0" text="#ffffff">
<a href="contact.htm">
<font face="arial" size="1">Contact</font>
</a>
</body>
</html>
problem:
in NS 4.x: the link is white, briefly turns orange when u click on it, and remains orange as long as u r on that page (active), BUT does NOT become maroon after visited. when u bring up the page again, link remains white.
In IE 5.5: link is white first, briefly turns orange when u click on it, and remains orange as long as u r on that page (active), becomes maroon after visited. BUTwhen u bring up the page again, link remains MAROON and not white which is what i want.
I am quite sick of browser issues and i have just started out.
What can i do?
Thanks,
Als2002