Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Page formatting


Recommended Posts

I formatted the pages for osCommerce to fit as part of the website, but for some reason osCommerce wants to push horizontally creating a horiz-scrollbar.


Anyone know why this is?




It was like this even with the default data in the database



I've dissected the HTML output and found that the table between the comments "body_text" and "body_text_eof" cannot be more than 340 pixels exactly or it expands the page past 100% horizontally.



THis makes absolutely no sense to me. Especially since I can make a 500 pixel or 100% table anywhere else but inside that table column for "body_text"


any wiz have any clue?

Link to comment
Share on other sites

It's definitely IE - it's not doing this in Mozilla.


Okay, a couple of things. In line 33, get rid of the center attribute in the TD. In line 72, the TR is not closed. In line 74 the TD is not closed. Finally the master table is not closed.


If you fix these three things it will either solve the problem or reveal the real problem.

Link to comment
Share on other sites

done - and i even changed the default.php so that the table that is giving me problems is 333 pixels - this is forced wider because of the broken image links which is a whole nother post (growl)


problem still exists in IE6.0 SP1 all resolutions

Link to comment
Share on other sites

At what width do you have the product images set? As best I can determine, despite the fact that you don't yet have the images loaded, IE is trying to maintain the correct space for the missing images. After trying everything else I could think of, I simply removed the IMG tags, and the problem just went away.


I'd still get rid of the align=center in the TD on line 33.

Link to comment
Share on other sites


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

  • Create New...