Guest Posted March 31, 2006 Posted March 31, 2006 I have managed to implement tables using the categories.php file in incl/boxes but the text links appear below the tables not in them as I would like (see image below). With some messing around with the file I cn get the text above and below the tables but not inside them :( grrrr Can anyone supply some code that would get the text inside the tables. The code I'm using to get the tables in categories.php is: if (tep_has_category_subcategories($counter)) { if ( ($id) && (in_array($counter, $id)) ) { $categories_string .= '<table width="239" cellpadding="0" cellspacing="0"><tbody><tr><td bgcolor="#F4F0EA"></td><td class="ch5" bgcolor="#F4F0EA" height="19" width="220"></td></tr></tbody></table>'; } else { $categories_string .= '<table width="239" cellpadding="0" cellspacing="0"> <tbody> <tr><td><img src="images/m12.gif" alt="." width="19" height="19" /></td> <td class="ch5" bgcolor="#e7dccb" height="19" width="220"></td></tr></tbody></table>'; } } else { $categories_string .= '<table width="239" cellpadding="0" cellspacing="0"> <tbody> <tr><td><img src="images/m12.gif" alt="." width="19" height="19" /></td> <td class="ch5" bgcolor="#e7dccb" height="19" width="220"></td></tr></tbody></table>'; }
♥Vger Posted March 31, 2006 Posted March 31, 2006 The 'best' (meaning simplest) way to do that is to replace your Categories box with a hard coded box of links. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.