Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fixed width webpages


osc-user

Recommended Posts

I know this is probably something that's been answered many times before, but can somone tell me how I can set the width of my pages to be fixed? I'm using the default osCommerce template with a custom header at the top. Currently it's adjusting to the browser window size and I want to fix it to the length of my header.

 

I appreciate any help!

 

osc-user

Link to comment
Share on other sites

The pages of osCommerce are designed to fill the browser window by having width="100%" in the table tags, and the good news is that you can change those to be fixed width.

 

The bad news is that there are lots of them.

 

For starters, there are three in includes/header.php and three in includes/footer.php. Then, change the one at about line 49 of index.php, and the one at about line 39 of product_info.php.

 

Keep testing and you will find more (there may even be a list somewhere in the forum). Look for the table tag immediately after the comment line <!-- body //-->.

Link to comment
Share on other sites

  • 10 months later...

I've tried the contribs and the css and nothing seems to change the width of the center. I've got to have something that's overriding these changes but don't know where to look. Any suggestions?

 

P.S. if anyone is willing to have a [careful] look I will give you access.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...