PDA

View Full Version : Css



Gayowulf
March 6th, 2002, 23:34
What have i done wrong?

I want the BG to be black, but it stays white.



<style type="text/css">
<!--
BODY { FONT-SIZE: 2; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
SCROLLBAR-BASE-COLOR: #BB0000; SCROLLBAR-ARROW-COLOR: #000000; /*
SCROLLBAR-3DLIGHT-COLOR: #A997C4; SCROLLBAR-HIGHLIGHT-COLOR: #A997C4;
SCROLLBAR-SHADOW-COLOR: #FF0000; SCROLLBAR-DARKSHADOW-COLOR: #FF0000;
SCROLLBAR-FACE-COLOR: #BB0000; SCROLLBAR-TRACK-COLOR: #000000;
color: #000000;
background: #000000
*/ }
A:hover {COLOR: #b80000; TEXT-DECORATION: underline}
A:visited {TEXT-DECORATION: none}
A:active {FONT-WEIGHT: none; TEXT-DECORATION: none}

}
-->
</style>


Thanks

wm2k1
March 6th, 2002, 23:37
black => 000000
white => ffffff

Gayowulf
March 6th, 2002, 23:46
Originally posted by wm2k1
black => 000000
white => ffffff

Yes, I know. :rolleyes:

wm2k1
March 6th, 2002, 23:49
well if u already know and u want to set background to white
then why did u do this: "background: #000000"?????

Gayowulf
March 6th, 2002, 23:53
I already have. Look about halfway through the code.

roly
March 7th, 2002, 00:03
My most hated member is here:rolleyes:

wm2k1
March 7th, 2002, 00:20
Originally posted by roly
My most hated member is here:rolleyes:
...who? me? :p :eek: :confused:

Dusty
March 7th, 2002, 07:00
You've got it commented out.
<style type="text/css">
<!--
BODY { FONT-SIZE: 2; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
SCROLLBAR-BASE-COLOR: #BB0000; SCROLLBAR-ARROW-COLOR: #000000; /*
SCROLLBAR-3DLIGHT-COLOR: #A997C4; SCROLLBAR-HIGHLIGHT-COLOR: #A997C4;
SCROLLBAR-SHADOW-COLOR: #FF0000; SCROLLBAR-DARKSHADOW-COLOR: #FF0000;
SCROLLBAR-FACE-COLOR: #BB0000; SCROLLBAR-TRACK-COLOR: #000000;
color: #000000;
background: #000000
*/ }
A:hover {COLOR: #b80000; TEXT-DECORATION: underline}
A:visited {TEXT-DECORATION: none}
A:active {FONT-WEIGHT: none; TEXT-DECORATION: none}

}
-->
</style>All that's in a comment, the browser's ignoring it. Get rid of the /* and */ and you should be fine.

Christopher
March 7th, 2002, 08:03
I knew that at soon as I looked at the code, I swear! :D

Gayowulf
March 7th, 2002, 21:35
All that's in a comment, the browser's ignoring it. Get rid of the /* and */ and you should be fine. [/B][/QUOTE]


Thanks, Dusty. I figured it was something simple.