View Single Post
Old August 8th, 2006, 10:40 AM   #1 (permalink)
lmongello
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Remove table borders on vB index page

I have the Featured Photos working fine but can't seem to remove the borders for the table so my Adsense ads seem more integrated.

My inc_features code includes:

if ( $ViewPerm[$pcat] == 1 )
{
continue;
}

if ( pp_is_image($photo) )
{
$temp_user = $puserid;

if ( $height > $width )
{
$mthumb = "<img src=\"{$url_path}/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"\" />";
}
else
{
$mthumb = "<img src=\"{$url_path}/images/overlay-round.gif\" height=\"81\" width=\"105\" border=\"0\" alt=\"\" />";
}

// One box for each feature
$featured .= <<<PPPRINT
<td align="center" class="alt1">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo); background-color: #000000; background-repeat: no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>
</tr>
</table>
<font size="1" face="verdana,arial">by {$puser}<br />
</td>
PPPRINT;


Thanks in advance for the help (I'm sure it's something easy I'm missing)
lmongello is offline   Reply With Quote