Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Needed!!!!!!!


mtechama

Recommended Posts

after I put this code in the stylesheet:

 

BODY {
 text-align: center;
 background: #ffffff;
 color: #000000;
 margin: 0px;
}

.fixcenter {
 width: 1025px;
 border: solid; border-width: 1px;
 background: #000000;
 color: #000000;
 margin: auto;
 margin-top: 20px;
 text-align: left;
}

 

I am still unable fix center my store........... what do I need to do?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

First off, if you are fixing the width for 1024 resolution, your fixed width of 1025 isn't much use. I would take that down a bit, to around 990, that will allow for scroll bars.

 

This will do it, just add what else you want.

 

#wrapper {
 width: 990px;
 margin: 0 auto;
}

BODY {
 background: #ffffff;
 color: #000000;
 margin: 0px;
 text-align: center;
}

 

Then wrap it all with <div id="wrapper"> in header.php and close it out in footer.php with </div>

 

An easier way is <div align="center"> </div> but that is supposed to be deprecated. I don't think it will be but whatever you want.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...