Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Setting an image as Body CSS


Guest

Recommended Posts

Posted

I have implemented the centering store code in the stylesheet file and want to make an image the background for the body tag. Is this possible, if yes what is code.

 

Currently looks like this:

 

BODY {

text-align: center;

background: #ffffff;

color: #000000;

margin: 0px;

}

 

.fixcenter {

width: 758px;

border: solid; border-width: 1px;

background: #ffffff;

color: #000000;

margin: auto;

margin-top: 20px;

text-align: left;

}

 

Thanks for support.

Shelley

Posted

Just tried this, but to no avail. What am I missing? :huh:

 

 

BODY {

text-align: center;

background-image: images/backgrounds/BGTile.gif;

color: #000000;

margin: 0px;

}

 

Thanks

Shelley

Posted

Silly syntax: Hee hee all fixed. Thank god for forum. Poopee for how much I had to read to find it. BUT, still thank god,

 

BODY {

text-align: center;

background-image: url(images/backgrounds/BGTile.gif);

background-repeat: repeat;

color: #000000;

margin: 0px;

}

 

Thanks

Shelley

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...