Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need to change main table (body) of page without changing page color


Guest

Recommended Posts

I need to change the body of oscommerce (for lack of a better term). The main table after header.php I suppose.

I didn't see a class associated with it. I could just be bleary eyed and overlooked something.

 

body in stylesheet changes the whole page background.

 

Here's the site I'm working on

 

Here's an example of what I need

 

Any help would be greatly appreciated!

Link to comment
Share on other sites

In the stylesheet:

 

BODY {
 background: #000000;  /* this changes the color around the osc content */
 color: #000000;
 margin: 0px;
 text-align:center;
}

#content {
 background: #C2AE7C; /* this changes the body color */
width: 1000; margin: auto;
border: 1px solid #999999;
text-align:center;
}

Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

In the stylesheet:

 

BODY {
 background: #000000;  /* this changes the color around the osc content */
 color: #000000;
 margin: 0px;
 text-align:center;
}

#content {
 background: #C2AE7C; /* this changes the body color */
width: 1000; margin: auto;
border: 1px solid #999999;
text-align:center;
}

Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

 

OMG that was so obvious, I'm embarrassed! I told you I was brain dead from staying up too late. :blush:

 

THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!!! :D

 

You guys gotta' get tired of answering these lame questions, all of the time. But we all are sure glad you do!

 

Thank you again. You saved me many hours of tinkering around cuz I couldn't see the forest for the trees!

 

Hail GERM! Hail GERM! ;)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...