fetzles1490
10-02-2005, 03:01 AM
im just trying to make a VERY basic css. im literally copy/pasting off of this site's tutorial page and substituting my values... but it isnt working. heres what i've done so far:
<style type="text/css">
A:link
{ text-decoration:underline;color:#FFFFFF; }
A:visited
{ text-decoration:line-through;color:#FFFFFF; }
A:active
{ text-decoration:underline overline;color:#FFFFFF; }
A:hover
{ text-decoration:none;color:#000000; }
that is simply copied/pasted off the page so idk whats wrong. its my first css -- EVER -- so sorry if i sound stupid :P
estrella21306
10-02-2005, 03:10 AM
if thats the only css you want to use you need to remember to put the </style> tag to close it. and dont forget to put your css in the <head> area.
fetzles1490
10-02-2005, 03:13 AM
thanks, now its not showing up as text anymore.
but its also not taking effect on the page. all the links are still blue with no hover effects or anything.
lol oy veyy :dead:.
fetzles1490
10-02-2005, 03:34 AM
just kidding, figured it out. :)
Douglas
10-02-2005, 03:35 AM
EDIT: figured it out :(
try this (style has to go between <head> tags):
<head>
<title>YOUR TITLE</title>
<style type="text/css">
<!--
a:link {
text-decoration:underline;
color:#FFFFFF;
}
a:visited {
text-decoration:line-through;
color:#FFFFFF;
}
a:active {
text-decoration:underline overline;
color:#FFFFFF;
}
a:hover {
text-decoration:none;
color:#000000;
}
-->
</style>
</head>
fetzles1490
10-02-2005, 03:46 AM
thanks :)
i got the link part to work now.
but now i cant get the font to show up. mehhh sorry im being slow here this is such simple stuff ive just never done it before. :confused:
heres what i have in all now:
<html>
<head>
<style type="text/css">
A:link
{text-decoration: underline; color:#FFFFFF;}
A:visited
{text-decoration: underline overline; color:#FFFFFF;}
A:active
{text-decoration: underline; color:#FFFFFF;}
A:hover
{text-decoration: none; color:#000000;}
body
{background:#993300;}
{font-family:courier new;}
</style>
</head>
Douglas
10-02-2005, 03:50 AM
here:
<html>
<head>
<style type="text/css">
<!--
a:link {
text-decoration:underline;
color:#FFFFFF;
}
a:visited {
text-decoration:line-through;
color:#FFFFFF;
}
a:active {
text-decoration:underline overline;
color:#FFFFFF;
}
a:hover {
text-decoration:none;
color:#000000;
}
body {
background-color:#993300;
font-family:courier new,courier;
}
-->
</style>
</head>
fetzles1490
10-02-2005, 03:57 AM
lol thanks everyones helping so much
Douglas
10-02-2005, 03:59 AM
no problem ;), hope whatever your making works out for you :D