Goldfiles
01-02-2006, 04:04 PM
Take a look at: http://www.goldfiles.com/css/layout.html
There is a small white gap right after the logo that is messing up all of the tables. I am using HTML with CSS for text and table formatting. Here is my code:
HTML:
<td class="topleft">
<table class="topleft">
<tr>
<td class="topleft1">
</td>
</tr>
<tr>
<td class="topleft2">
<img src="logo.png" />
</td>
</tr>
<tr>
<td class="topleft3">
<span class="span2">^ Part of the Digital Download Network</span>
</td>
</tr>
</table>
</td>
CSS:
.table2
{
width: 829px;
height: 113px;
margin: auto;
border-collapse: collapse;
vertical-align: top;
}
.topleft
{
width: 330px;
border-style: none;
border-width: 0px;
border-collapse: collapse;
padding: 0px;
}
.topleft1
{
background-image: url('l_abovelogo.png');
height: 27px;
}
.topleft2
{
height: 40px;
padding: 0px;
vertical-align: top;
border-spacing: 0px;
}
.topleft3
{
background-image: url('l_belowlogo.png');
padding: 0px;
height: 46px;
border-spacing: 0px;
}
Table2 is the table, topleft1,2,3 are the rows in the table.
How can I remove that white gap after my images?
There is a small white gap right after the logo that is messing up all of the tables. I am using HTML with CSS for text and table formatting. Here is my code:
HTML:
<td class="topleft">
<table class="topleft">
<tr>
<td class="topleft1">
</td>
</tr>
<tr>
<td class="topleft2">
<img src="logo.png" />
</td>
</tr>
<tr>
<td class="topleft3">
<span class="span2">^ Part of the Digital Download Network</span>
</td>
</tr>
</table>
</td>
CSS:
.table2
{
width: 829px;
height: 113px;
margin: auto;
border-collapse: collapse;
vertical-align: top;
}
.topleft
{
width: 330px;
border-style: none;
border-width: 0px;
border-collapse: collapse;
padding: 0px;
}
.topleft1
{
background-image: url('l_abovelogo.png');
height: 27px;
}
.topleft2
{
height: 40px;
padding: 0px;
vertical-align: top;
border-spacing: 0px;
}
.topleft3
{
background-image: url('l_belowlogo.png');
padding: 0px;
height: 46px;
border-spacing: 0px;
}
Table2 is the table, topleft1,2,3 are the rows in the table.
How can I remove that white gap after my images?
