ibii
08-15-2006, 03:32 AM
Ok, so I'm building a new layout and on my page there is a link to e-mail me. The code of this link is the following: <a href="mailto:e-mail">e-mail me</a> I believe this coding to be 100% correct. However, in my CSS stylesheet, I have my link codes set in such a way that there is no underline for my links and the links are a different color. CSS coding: (also the CSS is an external stylesheet, the link used in the document to link to the stylesheet is:
<LINK REL="Stylesheet" HREF="stylesheet.css"> which I also believe to be correct)
<style type="text/css">
A:link
{ text-decoration: none; color:#3399CC; }
A:visited
{ text-decoration: none; color:#3399CC; }
A:active
{ text-decoration: none; color:#3399CC; }
A:hover
{ text-decoration: none; color:#3399CC; }
.preElement
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
pre
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
body
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
td
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
</style>
Also, the mailto: link doesn't work on my page! Whenever I click the link, nothing happens. The link is inside a frame, and also adding target="_blank" to the mailto: tag doesn't make the link work, either. Adding text-decoration:none and the <font> tag to the individual link to try and change the style/color doesn't work either!! Can someone help me try to get my link a) working b) correct color and c) without underline? Help!
Also I am using the Firefox browser for this coding =)
<LINK REL="Stylesheet" HREF="stylesheet.css"> which I also believe to be correct)
<style type="text/css">
A:link
{ text-decoration: none; color:#3399CC; }
A:visited
{ text-decoration: none; color:#3399CC; }
A:active
{ text-decoration: none; color:#3399CC; }
A:hover
{ text-decoration: none; color:#3399CC; }
.preElement
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
pre
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
body
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
td
{
font-weight:bold;
color:#000066;
font-family:arial;
font-size: 10pt;
}
</style>
Also, the mailto: link doesn't work on my page! Whenever I click the link, nothing happens. The link is inside a frame, and also adding target="_blank" to the mailto: tag doesn't make the link work, either. Adding text-decoration:none and the <font> tag to the individual link to try and change the style/color doesn't work either!! Can someone help me try to get my link a) working b) correct color and c) without underline? Help!
Also I am using the Firefox browser for this coding =)