Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

background image?


b8yd

Recommended Posts

Posted

ok i want to put a image as my backround and im new to php i sorted pretty much everything else with minimum problems just i dont know where to put the backround codee and what the background code is lol if anyone could tell me the code and the place to put it i would be very greatful

o and how to mkae the image repeat over the page :thumbsup:

thanks

b8yd

Posted

You did not say what background you want for an image and if it repeats or not, so I will assume you mean your whole page and if that is correct you open your style sheet and under body

 

body {

background: #xxxxxx url('../images/background.gif') center repeat-y;

color: #xxxxxx;

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 12px;

text-align: center;

}

 

You will then have to locate colored backgrounds in your style sheet and change them to inherit;

 

like this:

 

TD.headerNavigation {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: inherit;

color: #000;

font-weight : bold;

}

 

ok i want to put a image as my backround and im new to php i sorted pretty much everything else with minimum problems just i dont know where to put the backround codee and what the background code is lol if anyone could tell me the code and the place to put it i would be very greatful

o and how to mkae the image repeat over the page :thumbsup:

thanks

b8yd

Archived

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

×
×
  • Create New...