Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping cart table width


knifeman

Recommended Posts

Posted

Hi All,

 

I have spent the last little bit adding the dropdown mod #1517 to my shopping cart. It adds a neat drop down box to change the quantity. No more irate customers that have overlooked the update button (thanks Stuart)

 

Anyhow, it works great except when you add a lot of something, the price column spreads out and scrunches the dropdown box. It still works, but you cannot see the actual number in the box. I have changed my fixed width from 758 to ..... around 875 just so I can leave the mod installed. Of course in firefox it works great but in IE it is messing up. I have been poring over the shopping_cart page and the stylesheet, but I cannot find anywhere to set the table dimensions so the price stays in its place.

 

Can somebody please show me where to make the changes? I would like to set my fixed width back to 758.

 

Tim

Posted

I made a slight change in shopping_cart.php and it has helped.

$products_name = '<table border="0" cellspacing="1" cellpadding="1" style="width: 65% >' .
				   '  <tr>' .

I added the part style="width: 65% and reduce the padding from 2 to 1. Oh yeah I also went into the stylesheet and centered the heading text(just because it was running in with "remove")

Not sure if this is correct, but it does help. If I go back and shorten some of my product names they will take up less width. I tried putting a <BR> in the titles of long names, but that really messes up my SEO URLs.

 

Tim

My Webpage

Archived

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

×
×
  • Create New...