View Full Version : links (not working!)


MistressVivi
02-11-2004, 05:33 PM
I'm using a remote style sheet with classes, but my links aren't working, any help?
body {

scrollbar-base-color:#B5C4AF;
scrollbar-arrow-color:#000000}

.div { background-color:#B5C4AF;
background-image:url(canvas3_4x4.gif);
background-attachment:fixed;
filter:chroma(color=#FFFFFF);
scrollbar-base-color:#B4C4AF;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#000000;
a:link {color:#43692B}
a:active {color:#43692B}
a:visited {color:#000000}}

.menu {
background-color:#B5C4AF;
background-image:url(canvas3_4x2.gif);
background-attachment:fixed;
filter:chroma(color=#FFFFFF);
scrollbar-base-color:#B4C4AF;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#000000;}

MistressVivi
02-11-2004, 05:39 PM
oop, fixed it...kinda. Now my sheet looks like: body {

scrollbar-base-color:#B5C4AF;
scrollbar-arrow-color:#000000}

.div { background-color:#B5C4AF;
background-image:url(canvas3_4x4.gif);
background-attachment:fixed;
filter:chroma(color=#FFFFFF);
scrollbar-base-color:#B4C4AF;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#000000;}
a:link {color:#43692B}
a:active {color:#43692B}
a:visited {color:#000000}

.menu {
background-color:#B5C4AF;
background-image:url(canvas3_4x2.gif);
background-attachment:fixed;
filter:chroma(color=#FFFFFF);
scrollbar-base-color:#B4C4AF;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#000000}
a:link {color:#43692B}
a:active {color:#43692B}
a:visited {color:#000000}
a:hover {color:#000000}
Anyone know how I can change the link style with classes?

Rosey
02-11-2004, 06:15 PM
the links are stand alone codes so you dont put them in with the div and menu stuff. you do this:

a.menu:link {...} and a.div:link {...}

and so on. you'll have to to do that for all the link stuff, hover, visited...

MistressVivi
02-11-2004, 06:33 PM
ah, I see. Thanks much! You've been a big help these past days XD

Anyways, instead of making a whole new topic, I have another question. How would I specify table cell backgrounds using classes? I tried out this
.table {
border-width:1px;
border-color: #000000}
.cellbg {
background-color: #F4F100}the cell background shows up fine, but the table border doesn't show up at all. Any help? =D

Rosey
02-11-2004, 06:40 PM
for the border, it would just be : border: 1px solid #000000;

you can have it dashed too and i think there are more but i can't think of them right now.

MistressVivi
02-11-2004, 06:46 PM
whoo! It worked! Thanks again =D

Rosey
02-11-2004, 06:56 PM
no prob :)