Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Left Boxes Resizing on Page Load


jond

Recommended Posts

Hi,

 

Ive installed a new oscommerce cart. All ive done is add my logo to the top, change the box corner gifs and edit the css slightly. When you go to my page at

 

http://www.tools4flooring.com/catalog

 

the page left boxes (categories, manufacturers, etc.) appear stretched out for a few seconds, before resizing to the correct size. How could i set these to be fixed, as this is probably slowing things down? Also, how could i set the whole table fixed? Would 750px be appropriate and would this speed it up? Thanks in advance!

Link to comment
Share on other sites

The size of the columns is a fixed size, it's the page width that's set to 100%, and this is what's causing the problem. If you want to center and fix the width of your pages it means applying html adjustments to almost every page in your root directory.

 

Vger

Link to comment
Share on other sites

Thanks - i appreciate the quick reply

 

Is there a mod for this? If not, how would i go about doing this manually - do i just adjust pages in the catalog/ directory or in the catalog/includes and others as well?

Link to comment
Share on other sites

You only need to make the changes at the 'catalog' level. Where you see this first table command

 

<table border="0" width="100%" cellspacing="3" cellpadding="3">

 

change it to

 

<center><table border="0" width=748 cellspacing="3" cellpadding="3">

 

after the last </table> command add </center>

 

Other tables within the page are nested tables and 'children' of the main table, so should behave the same.

 

Vger

Link to comment
Share on other sites

i changed these settings on a page and tested it out. The header and footer must need to be modified too, as they stretch out 100% of the screen. How can i do this? Thanks in advance for all of your help.

 

Also, you seem to be one of the best knowledgable members here. If you get time, ive been waiting for an answer on this thread:

 

http://www.oscommerce.com/forums/index.php?showtopic=123812

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...