View Full Version : background???


courageous
02-21-2004, 03:53 AM
umm.. I'm using a css layout and external style sheets and my background won't work. Help me?

Observe:
body {
scrollbar-3dlight-color: #000000;
scrollbar-arrow-color: #CCCCCC;
scrollbar-base-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-track-color: #FFFFFF;
}
-->

<!--
A:link { COLOR: #339933; text-decoration: none;}
A:visited { COLOR: #334433; text-decoration: none; cursor:default;}
A:active { COLOR: #339933; TEXT-DECORATION: none;}
a:hover { color: #3399CC; text-decoration:blink;
background-color: #CCFFCC; cursor:crosshair}

-->

<!--
body,tr,td, h6, p, li
{font-size: 9pt;
font-family: comic sans ms, verdana, ariel;
color: #00CC33;
line-height:12px;
letter-spacing:0pt;
-->

body
{
background-image: url(checkerboard.gif);
background-attachment: fixed;}

</STYLE>

thank you.:lolol:

pb&j
02-21-2004, 04:35 AM
take out the STYLE and COMMENT tags...

body {
background-image: url(checkerboard.gif);
background-attachment: fixed;}
scrollbar-3dlight-color: #000000;
scrollbar-arrow-color: #CCCCCC;
scrollbar-base-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-track-color: #FFFFFF;
}

a:link {color: #339933; text-decoration: none;}
a:visited {color: #334433; text-decoration: none; cursor:default;}
a:active {color: #339933; text-decoration: none;}
a:hover {color: #3399CC; text-decoration:blink;
background-color: #CCFFCC; cursor:crosshair;}

body,tr,td, h6, p, li
{font-size: 9pt;
font-family: comic sans ms, verdana, ariel;
color: #00CC33;
line-height:12px;
letter-spacing:0pt;
}

dpvetikas
02-21-2004, 08:57 PM
adding a full url of the background should make it work.
when there's only teh filename,
then it means that the background is in the same folder as the file is.

MaGiCSuN
02-21-2004, 10:27 PM
body {
background-image: url(checkerboard.gif);
background-attachment: fixed;}
scrollbar-3dlight-color: #000000;
scrollbar-arrow-color: #CCCCCC;
scrollbar-base-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-face-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-track-color: #FFFFFF;
}

take out the red bracket (sp?) because now the stylesheet is thinking that the body part ends there.

Love,
Mirna

pb&j
02-22-2004, 03:03 AM
thanks mirna.
been a long day :D

weird girl
02-22-2004, 03:56 AM
Also, arial is misspelled, unless there's actually a font out there called ariel... not too terribly important but just thought I'd let you know ;).