Adding Background via CSS

Merlin

Resident
Joined
Jul 10, 2007
Messages
546
Reaction score
0
FP$
6
I try to replace my forum's background (for the soon-to-be-customized skin) but it doesn't seem to work. Here's what I do.

Code:
body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #000000;
	background-color: #F9F9F2;
	/*background-image: url('http://i124.photobucket.com/albums/p19/Merlin34/aXing%20Skin%20Pictures/summergrass.gif');*/
	font-size: 66%; /* 62.5% sets the default font size to be equivalent to 10px */
	margin: 0;

My guess is that you need to somehow "remove" the background color, but I don't know how.
 
Use this code:
Code:
    body {
       /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
       font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
       color: #000000;
       background-color: #F9F9F2;
       background-image: url('http://i124.photobucket.com/albums/p19/Merlin34/aXing%20Skin%20Pictures/summergrass.gif');
       font-size: 66%; /* 62.5% sets the default font size to be equivalent to 10px */
       margin: 0;

The /* and */ before and after the background-image are telling the browser to ignore that line of code, which is probably why it's not working for you. ~smile~
 
Back
Top Bottom