View Full Version : Help plzz with CSS coding


thedisneysource
04-13-2007, 06:52 PM
PLEASE tell me why every code I use for background image/color does NOT work, I tried but nothing happens :(

Here is my CSS here (http://www.geocities.com/thedisneysource/stylesheet-verision_hsm-1.css)

Plzz tell me where to put the bg code for color & image so it will work

Thank you :)

xxx

Ges
04-13-2007, 10:55 PM
Hi thedisneysource,
If you just want to set the background color of your screen using HTML then you would use;

<body bgcolor="#MYCOLOREHEXNUMBERHERE">

but if you want to use your CSS ( as I see ), then add this to the BODY section, ( this is YOUR CSS and add the sections in bold );


BODY, TR, TD {
background-image : url(mybackgroundpic.jpg);
background-repeat: no-repeat;
background-attachment: fixed;

font-family: trebuchet ms;
color: #ff0000;
font-size: 7pt;
line-height: 12px;
scrollbar-3dlight-color: #13339c;
scrollbar-arrow-color: #ffffff;
scrollbar-base-color: #13339c;
scrollbar-darkshadow-color: #ffffff;
scrollbar-face-color: #13339c;
scrollbar-highlight-color: #13339c;
scrollbar-shadow-color: #13339c;
scrollbar-track-color: #c6d9e7;
}


For more easy info try;

http://www.w3schools.com/css/css_background.asp

Hope this helps.

Regards,
Ges.

thedisneysource
04-14-2007, 04:56 AM
Thnks this works great thnk u soo much Ges :)

xxx