Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

centering entire page (including left and right column)


Guest

Recommended Posts

Posted

hi...

 

I'm totally new to PHP and osCommerce... I'm trying to setup the cart to look the same as my webste: www.sashop.com

 

The cart is at: www.sashop.com/shop

 

I want the left and right column to squeze into the centre like the rest of the page... I'm reading the PDF customize file... but it says to

 

"Next you must change the same settings in header.php and footer.php in your /catalog/includes directory."

 

When I open up those there is nothing in there to edit the page width...

 

thanks for the help!!! I think I'm starting to get it..

 

Curtis =)

Posted

in short:

 

in catalog/includes/header.php look for the first <table bla> tag you come across. Right ABOVE that you add

<table border="0" cellspacing="0" cellpadding="0" width="80%">

 <tr>

  <td>

 

then in catalog/includes/footer.php you look for the LAST </table> tag and below that you add:

   </td>

 </tr>

</table>

 

Adjust the width percentage in header.php to your likings.

 

That's it.

 

:D

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Oh and add align="center" to the <table> if you want to center it.

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

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

×
×
  • Create New...