Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centering the Website


promolee

Recommended Posts

Hi - hope someone can help. I have removed the 'include column_right.php' from my index.php, but no matter what I do, I can't move the rest of the page into the center.

 

Now that the right section has gone, I was hoping to move the column_left and the center of the page into the middle.

 

Can anyone help? You can see the page HERE, where you should get a better idea of what I mean.

 

Hope you can help! :D

Link to comment
Share on other sites

Hi - hope someone can help. I have removed the 'include column_right.php' from my index.php, but no matter what I do, I can't move the rest of the page into the center.

 

Now that the right section has gone, I was hoping to move the column_left and the center of the page into the middle.

 

Can anyone help? You can see the page HERE, where you should get a better idea of what I mean.

 

Hope you can help! :D

See if this works. this is from your source code:

[code}

<table width="575" border="0" cellspacing="0" cellpadding="0">

<tr>

<td><table width="575" border="0" cellspacing="0" cellpadding="0">

 

CHANGE TO:

<table align="center" border="0" cellspacing="0" cellpadding="0">

<tr>

<td><table width="575" border="0" cellspacing="0" cellpadding="0">

[/code]

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

Hi - Thanks for the reply.

 

The middle part of the website has now centred (even though it is slightly too big - I'll sort that!), btu now the left column is still on the left.

 

Any ideas? :huh:

 

Thanks!

Link to comment
Share on other sites

You need to remove this piece of code from all root level php files:

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>

 

Once you've done that use my Fixed Width Site With CSS contribution - link below my name.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...