Hi all,
for some strange reason, I cannot get control over the 2nd <TD> element in my php loop. I wish to control its width. nothing I try seems to work. I’m open to suggestions please. The page can be found here -> [url]http://www.stevelim.com/web/firefox_extensions.html
[CODE]
echo ‘<table>’;
for($i=1; $i<count($items); $i++) {
echo ‘<tr>’;
echo ‘<td style=”padding:0 20px 0 20px”>’;
echo ‘<b>’.title($items[$i]).'</b> (‘.find(“version”, $items[$i]).’) by ‘.find(“creator”, $items[$i]).'<br>’;
echo find(“description”, $items[$i]).'<br/>’;
echo ‘<a href=”‘.find(“homepageURL”, $items[$i]).'”>’.find(“homepageURL”, $items[$i]).'</a><br/><br/>’;
echo ‘</td>’;
$i++;
echo ‘<td>’;
echo ‘<b>’.title($items[$i]).'</b> (‘.find(“version”, $items[$i]).’) by ‘.find(“creator”, $items[$i]).'<br>’;
echo find(“description”, $items[$i]).'<br/>’;
echo ‘<a href=”‘.find(“homepageURL”, $items[$i]).'”>’.find(“homepageURL”, $items[$i]).'</a><br/><br/>’;
echo ‘</td>’;
echo ‘</tr>’;
}
echo ‘</table>’;
Thanks.