Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Center shop -setting the table width


pjb

Recommended Posts

I have followed the instruction on p56 of the osC doc to change the width of the shopping cart to center on the page, but is off to the left.

 

Basically I have changed all the catalog files from (only done this once per cat. file):

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

<tr>

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

 

to

 

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

<tr>

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

 

and on the header and footer changed all to:

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

(Even if the width is 770 still have smae problem)

Any suggestions please?

Pete

Link to comment
Share on other sites

it is easiest to do it with the stylesheet and the footer, try Vger's fixed width instructions--it is like a 1 minute thing and works very well

"I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings."

---Margaret Mead---

 

"The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer.

--Ken Kesey"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...