Guest Posted August 6, 2004 Posted August 6, 2004 Ok im trying to make some custom infoboxes but on some pages they work and some pages it addes spacing between the images. I think it might have to do with something about the cellpadding and cellspacing on the page that it is on but I am not sure. I will show links on when it works and when it doesnt. works - http://www.streetflossin.com works - http://www.streetflossin.com/catalog/index...&sort=2a&page=2 Dont work - http://www.streetflossin.com/catalog/produ...?products_id=51 Dont work - http://www.streetflossin.com/catalog/contact_us.php Is there any way I can fix this easly if it turns out to be the cellpadding or cellspacing? cause i dont want to messup those pages, or go into each on and change them manually.
Mary B. Posted August 6, 2004 Posted August 6, 2004 The one that works shows no cellpadding in the table that holds the box images. The one that doesn't work has cellpadding=2 in the table code. Look on/near line 41 of product_info.php and find this line: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Change the cellpadding in that line to 0 and your boxes should display ok. They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ
csquat Posted August 6, 2004 Posted August 6, 2004 I am also trying to work with customizing infoboxes. I want to get rid of the black bar around them, but am having problems. I have looked in the stylesheet and the boxes.php but can not find a function that includes the black bar. Any help would be greatly appreciated.
Mary B. Posted August 9, 2004 Posted August 9, 2004 Here is one quick way to make those borders disappear. Find the infoBox style in your stylesheet.css file: .infoBox { background: #b6b7cb; } Change the color to your page background color. They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ
Recommended Posts
Archived
This topic is now archived and is closed to further replies.