zmsan Posted August 14, 2006 Share Posted August 14, 2006 I have noticed that right out of the box oscommerce displays a space in every page below the header - except in the index page. I am not sure how to get this space out. I have used winmerge and even made the files identical, but no luck. Anyone have any ideas? I am talking about the space right below the Path to the category and My Account | Cart Contents | Checkout. Thanks Link to comment Share on other sites More sharing options...
rosemary Posted August 14, 2006 Share Posted August 14, 2006 I see the spacing that you described on every page . . . so I still don't know what you are referring to. There are ways to remove the space, but the design has to be altered. Also, you can look into the stylesheet.css to tweak the background colours of some of the boxes. Rose Link to comment Share on other sites More sharing options...
zmsan Posted August 14, 2006 Author Share Posted August 14, 2006 Thanks for the reply. The space is definitely only there on pages OTHER than the index page. If anyone would be so kind, I can PM the address to the shop so you can have a look. I am familiar with CSS etc and usually can figure things out myself, however this is blowing my mind. Thanks to anyone who can help. Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2006 Share Posted August 14, 2006 get one of the catalog scripts back it up and then changes the cellpadding/cellspacing of the main table. You should have some html like this <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> you have to mod all the catalog files so experiment with one first. Link to comment Share on other sites More sharing options...
zmsan Posted August 15, 2006 Author Share Posted August 15, 2006 Hello, Thank you for replying. Ignore the horrible formatting and displaced border at the top. The thing is the space between the navigation at the top and then the boxes below that (categories and then products, etc). I tried replacing the cellpadding="3", etc, etc to 0 - I've done that before. However, it does not fix the spacing. On the index there is no spacing and on the other pages there is space. Moving those to 0 for example on login.php makes it a bit less space - but still not like the index page - which is how it should be. Thanks my friends for any help. get one of the catalog scripts back it up and then changes the cellpadding/cellspacing of the main table. You should have some html like this <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> you have to mod all the catalog files so experiment with one first. Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2006 Share Posted August 15, 2006 you did change it? because checking the login page html I still see it. <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> Link to comment Share on other sites More sharing options...
zmsan Posted August 15, 2006 Author Share Posted August 15, 2006 Yes, I changed it on login.php and then changed it back. Both on Firefox and IE it had less horizontal space, but still an additional vertical space when compared to the index page. EEEEEEEEEEEEEEEEEEAAAAAAAAAAAAA you did change it? because checking the login page html I still see it. <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2006 Share Posted August 15, 2006 can you change it and leave it there so we can see what else causes this extra space? Link to comment Share on other sites More sharing options...
zmsan Posted August 15, 2006 Author Share Posted August 15, 2006 Sure - I've changed the login.php so you can check it out. Thanks! Link to comment Share on other sites More sharing options...
Guest Posted August 15, 2006 Share Posted August 15, 2006 Seems the html elements are not properly closed. Like the footer has some additional closing tags at least that show on that page and generate this artifact at the top. Check the catalog\includes\footer.php Link to comment Share on other sites More sharing options...
zmsan Posted August 16, 2006 Author Share Posted August 16, 2006 Thanks for the reply. I have taken everything out of footer.php except the </div> which is from the contrib that centers the shop. STILL THE SPACING.. ARGGGGGGGGGGGH Seems the html elements are not properly closed. Like the footer has some additional closing tags at least that show on that page and generate this artifact at the top. Check the catalog\includes\footer.php Link to comment Share on other sites More sharing options...
zmsan Posted August 16, 2006 Author Share Posted August 16, 2006 Well I added a </tr></table> to the footer which is really strange - I can figure out where it went in the first place. It seems the default footer.php doesn't have it? Ah well maybe I've lost it. It works now. Take care... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.