thinkmarsh Posted May 8, 2007 Share Posted May 8, 2007 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. 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. Thanks sooo much! :) Link to comment Share on other sites More sharing options...
spax Posted May 8, 2007 Share Posted May 8, 2007 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 More sharing options...
thinkmarsh Posted May 8, 2007 Author Share Posted May 8, 2007 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 More sharing options...
spax Posted May 8, 2007 Share Posted May 8, 2007 Was the BOX_WIDTH the rogue cell then? Link to comment Share on other sites More sharing options...
thinkmarsh Posted May 8, 2007 Author Share Posted May 8, 2007 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? Thanks again for your help! :lol: Link to comment Share on other sites More sharing options...
spax Posted May 8, 2007 Share Posted May 8, 2007 At a guess, because you removed the BOX_WIDTH. Put it back to 125 and see if it aligns. Link to comment Share on other sites More sharing options...
thinkmarsh Posted May 8, 2007 Author Share Posted May 8, 2007 At a guess, because you removed the BOX_WIDTH. Put it back to 125 and see if it aligns. that file was like that before I changed it! :blink: Link to comment Share on other sites More sharing options...
spax Posted May 9, 2007 Share Posted May 9, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.