Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

different width between column left and right


Moooh

Recommended Posts

Look for this code on each page

 

<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

 

and replace <?php echo BOX_WIDTH; ?> with a numeric to say your own width as against the standard width.

 

Geez! ... my first posting! am I right?

 

-Jan

Link to comment
Share on other sites

Almost ...

 

Both of these settings are the left column:

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

 

Then at the bottom of each page are the settings for the right column:

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

 

So to change the left column, the first two settings need to be changed.

 

To change the right column, the last two settings need to be changed.

 

Might consider using BOX_WIDTH_LEFT and BOX_WIDTH_RIGHT then defining these in application_top.php in case you ever want to change them again it is just two numbers to change rather than 30+ files the second time around.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...