View Full Version : getting the underline off the links...


j2004
12-05-2003, 02:12 AM
I've been trying to figure this out for a long time now...here's my code...and thank you to anyone that can help me! I appreciate it!
*I'm using an external stylesheet btw*

A:link
{text-decoration: value; none; color:#FFFFFF;}
A:visited
{text-decoration: value; none; color:#FFFFFF;}
A:active {text-decoration: value; none; color:#FFFFFF;}
a:hover {color: #FFFFFF; border: #000000; border-style: dotted; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; cursor: ne-resize}

p {font-family: Trebuchet MS;color:#000000;font-size:8pt; font-weight:normal;letter-spacing:1pt; font-style:normal}


body
{
background: #FFFFFF;
font-family: Trebuchet MS;color:#000000;font-size:8pt; font-weight:normal;letter-spacing:1pt; font-style:normal}


scrollbar-face-color: #D3A03F;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-shadow-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #E0B562;
scrollbar-arrow-color: #FFFFFF;

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}
td
{ font-family: value; Trebuchet MS;color:#000000;font-size:8pt; font-weight:normal;letter-spacing:1pt; font-style:normal}

hockyfan641
12-05-2003, 02:17 AM
text-decoration: none;

will do it.

j2004
12-05-2003, 02:25 AM
thank you!! It worked finally...just now the links are that ugly green/yellow color...

Rosey
12-05-2003, 05:13 AM
You're using an external style sheet, you don't need to have any style stuff on your actual html page.

The reason your links are that color is because on the style sheet you have :



A:link
{text-decoration: none; color: #AC5521;}
A:visited
{text-decoration: none; color: #AC5521;}
A:active {text-decoration: none; color: #AC5521;}



Put everything for your style in your stylesheet and take out of the html.

j2004
12-05-2003, 05:26 AM
huh?

anyways...I have it all fixed! see (http://www.days-forever.org/j2004) Thanks for the help!!!I'm soo happy now!

Rosey
12-05-2003, 05:42 AM
You have a style sheet.



<link REL="stylesheet" HREF="mystylesheet.css" TYPE="text/css">



But then you have this in your regular html code:



a:hover {color: #000000; border: #000000; border-style: dotted; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; cursor: ne-resize}

body
{background-image:url(visioningoldbackground.png); background-repeat: repeat-y; margin: 0px; padding: 0px; }
</STYLE>
<style type="text/css">
<!--
BODY {
scrollbar-face-color: #D3A03F;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #D3A03F;
}
-->
</STYLE>



You need to put everything the style sheet...just looks sloppy. ;)