pinhead7987
04-09-2004, 12:31 AM
hey i am just curious if i wanna change the link color and what not where do i put the code and theres my link to my whole page and to my css is : www.geocities.com/pinhead7987@sbcglobal.net/stylesheet.css
hope ya'll can help
kittycat
04-09-2004, 12:46 AM
Just put the link sections anywhere in your stylesheet, they don't have to be in any particular spot except they can't be inside another section. (eg you can't have body { ... a:link {...} }
Here's a fixed up version of your current stylesheet.
#header {
margin : 20px;
padding : 10px;
height : 100px;
}
#left {
position : absolute;
left : 15px;
top : 160px;
width : 200px;
}
#center {
top : 0;
margin-left : 230px;
margin-right : 15px;
}
body {
background-image : url(http://www.geocities.com/pinhead7987@sbcglobal.net/background.gif);
background-repeat : no-repeat;
background-position : center;
background-attachment : fixed;
font-family : arial;
color : #ffff00;
letter-spacing : 0;
font-weight : normal;
margin-top : 0;
margin-bottom : 0;
margin-left : 0;
margin-right : 0;
padding-top : 0;
padding-bottom : 0;
padding-left : 0;
padding-right : 0;
}
A:link
{ text-decoration: underline; color:#000000; }
A:visited
{ text-decoration: line-through; color:#0000ff; }
A:active
{ text-decoration: none; color:#008000; }
A:hover
{ text-decoration: overline; color:#ffff00; }
Inside the { } of the last 4 sections you can put whatever you want to style the links.
Rosey
04-09-2004, 01:08 AM
you have 2 sets of links in there, decide which one you want and delete the other set. The one at the bottom, you have a } missing at the very end.