PDA

View Full Version : Remove space between images??


blkbird
02-21-2006, 05:11 AM
Anyone know how to remove the space {between the blue} inside the circle?

http://img47.imageshack.us/img47/149/untitled2jm.png


code for sidebar
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%">
<tr align="center">
<td class="tcat2"><span class="smallfont"><b>My Content</b></span></td>
</tr>

<td class="tcat2">some stuff here</td>
</table>
</td>
</tr>
</table>
<br />

code for css

.tcat2
{
background: #FFFFFF url(images/blizzard/gradients/sidebar_bg.gif);
color: #FFFFFF;
border: 0px solid;
font: bold 9pt arial, verdana, geneva, lucida, 'lucida grande', helvetica, sans-serif;
}
.tcat2 a:link
{
color: #FFFFFF;
text-decoration: none;
}
.tcat2 a:visited
{
color: #FFFFFF;
text-decoration: none;
}
.tcat2 a:hover, .tcat a:active
{
color: #FFFFFF;
text-decoration: underline;
}

TTT Anyone?

blkbird
02-22-2006, 08:26 PM
any ideas?

KTBleeding
02-22-2006, 08:31 PM
You're missing the opening and closing <tr> tags around your
<td class="tcat2">some stuff here</td>

Try replacing it with this:

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%">
<tr align="center">
<td class="tcat2"><span class="smallfont"><b>My Content</b></span></td>
</tr>
<tr>
<td class="tcat2">some stuff here</td>
</tr>
</table>
</td>
</tr>
</table>
<br />

blkbird
02-22-2006, 10:48 PM
Just tried it and the very small line break is still there..... huh

KTBleeding
02-22-2006, 11:57 PM
Oh, woops..

This should do the trick:

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" style="width:100%">
<tr align="center">
<td class="tcat2"><span class="smallfont"><b>My Content</b></span></td>
</tr>
<tr>
<td class="tcat2">some stuff here</td>
</tr>
</table>
</td>
</tr>
</table>
<br />


Just replaced the
cellspacing="$stylevar[cellspacing]"

With
cellspacing="0"

blkbird
02-23-2006, 01:36 AM
YESSSSSSSSSSS! We have success! Thanks for the help