matrix1000 Posted December 19, 2002 Posted December 19, 2002 In every box it seems that there is an un-necessary row above and below the content. I cant seem to figure out how to remove it from the php code or where to remove it from. I tried for instance search.php but could not seem to find it there. The row I would like to remove is this.... <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> In context... <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents"> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td> </tr> <tr> <td align="center" class="boxText"> Thanks for any info
Ajeh Posted December 19, 2002 Posted December 19, 2002 The boxes are built in /includes/classes/boxes.php You might look in there and see where the extra row is being added and where you want to remove it. Then just comment it out and test it to be sure you are removing the correct one.
Ajeh Posted December 19, 2002 Posted December 19, 2002 More specifically ... I believe this is the row you want eliminated from there: function infoBoxContents($contents) { $this->table_cellpadding = '3'; $this->table_parameters = 'class="infoBoxContents"'; $info_box_contents = array(); $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); $size = sizeof($contents); for ($i=0; $i<$size; $i++) { $info_box_contents[] = array(array('align' => $contents[$i]['align'], 'form' => $contents[$i]['form'], 'params' => 'class="boxText"', 'text' => $contents[$i]['text'])); } $info_box_contents[] = array(array('text' => tep_draw_separator('pixel_trans.gif', '100%', '1'))); return $this->tableBox($info_box_contents); }
matrix1000 Posted December 19, 2002 Author Posted December 19, 2002 Thanks! you are always such a big help :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.