jakenoble
02-05-2004, 01:09 AM
HI
Could someone take a look at this code. I am using dreamweaver, but that shouldn't matter as i have written most of this myself. The only bit that works is that the text "LINK" appears as blue, like it should everything else is in the wrong colour, font, size, etc.
However the text appears how it should in dreamweaver, but not in IE or Netscape?
its only a sample of my code, so its not too long.
Ideas?
Thanks in advance.
This is my CSS code:-
ttext {
FONT-SIZE: 16px;
COLOR: #0066FF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
btext {
FONT-SIZE: 12px; line-height: 20pt;
COLOR: #0066FF;
font-family: Verdana, Arial, Helvetica, sans-serif;}
A:link { text-decoration: none;
COLOR: #0066FF;}
A:active { text-decoration: none;
COLOR: #0066FF;}
A:hover { text-decoration: underline;
COLOR: #0066FF;}
A:visited { text-decoration: none;
COLOR: #0066FF;}
END
This is my HTML:-
<html>
<head>
<title>CSS_TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="CSS_TEST.css" rel="stylesheet" type="text/css">
</head>
<body>
<ttext>This is the title for my CSS Test Page</ttext>
<P></P>
<btext>
THIS IS WHERE THE BODY OF TEXT WILL BE
</btext>
<P></P>
<A HREF="http://www.agreatwebsite.co.uk/">Link</A>
</body>
</html>
Could someone take a look at this code. I am using dreamweaver, but that shouldn't matter as i have written most of this myself. The only bit that works is that the text "LINK" appears as blue, like it should everything else is in the wrong colour, font, size, etc.
However the text appears how it should in dreamweaver, but not in IE or Netscape?
its only a sample of my code, so its not too long.
Ideas?
Thanks in advance.
This is my CSS code:-
ttext {
FONT-SIZE: 16px;
COLOR: #0066FF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
btext {
FONT-SIZE: 12px; line-height: 20pt;
COLOR: #0066FF;
font-family: Verdana, Arial, Helvetica, sans-serif;}
A:link { text-decoration: none;
COLOR: #0066FF;}
A:active { text-decoration: none;
COLOR: #0066FF;}
A:hover { text-decoration: underline;
COLOR: #0066FF;}
A:visited { text-decoration: none;
COLOR: #0066FF;}
END
This is my HTML:-
<html>
<head>
<title>CSS_TEST</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="CSS_TEST.css" rel="stylesheet" type="text/css">
</head>
<body>
<ttext>This is the title for my CSS Test Page</ttext>
<P></P>
<btext>
THIS IS WHERE THE BODY OF TEXT WILL BE
</btext>
<P></P>
<A HREF="http://www.agreatwebsite.co.uk/">Link</A>
</body>
</html>