Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

quick question


thinkmarsh

Recommended Posts

Hi,

Quick question I have a couple of problems in terms of placement of a contribution.

How can i shift this left?? As you see its just off to the right.

 

shiftleft.jpg

 

and also this one below is in the right place i think, but its too narrow....how can i make it to the width of the picture below. I can't find the code that makes it wider.

 

stretch.jpg

 

Thanks sooo much! :)

Link to comment
Share on other sites

The top one and the bottom one look like they could have an empty cell to the left. The space in both images looks roughly equal. You could jump into the code and start turning borders on, that way you will see if there is a cell to the left of the boxes or if it is an alignment issue. Just look for where is says

<table border="0"> and change it to border="1".

 

The width of the second box might be set by the BOX_WIDTH definition, as it looks roughly equal to the left column. Look through the code for BOX_WIDTH, if you see it anywhere other than for the left column, try using a fixed width or add to the BOX_WIDTH. i.e. BOX_WIDTH+50;

 

This is all guessing but somewhere to start looking.

Link to comment
Share on other sites

Sorted it!

define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

to

define('BOX_WIDTH', 0); // how wide the boxes should be in pixels (default: 125)

 

Thanks so much!

Link to comment
Share on other sites

Was the BOX_WIDTH the rogue cell then?

 

I dunno. I just changed that one value and hey presto everything realigned and filled the gap for all bad pages.

But do you know how I could fix this....on the checkout_payment page only my footer has shifted to the left not staying in the centre as shown below. Any clues why? what code would shift it to one side?

aah.jpg

 

Thanks again for your help! :lol:

Link to comment
Share on other sites

Shouldn't be a problem then. Use a file compare tool like WinMerge and compare the code in the broken page to one that works. You should be able to see what difference there is in the way the footer is placed.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...