Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

table cell spacing

Status
Not open for further replies.

z35

Programmer
Dec 21, 2001
206
US
Hi,
what is the best way to layout tables?
on my html page (the space from the left of the table to my photo is less than the space from the top of the table to my photo.

The space between the 2 photos on the right side is also different from the other spaces.

I know it is a small difference...but if the numbers are defined down to the pixel...it should look exact.

why does this look sloppy? what is wrong with my coding?
 
If you are talking about the 3 cells for those picture. Do this..

<table border=0 cellspacing=0 cellpadding=3>
<tr>
<td rowspan=2 bgcolor=&quot;?????&quot;>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;></td>
<td bgcolor=&quot;?????&quot;>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;></td>
</tr>
</table>
 
OOPS... Mistake... Sorry!

<table border=0 cellspacing=0 cellpadding=3>
<tr>
<td rowspan=2 bgcolor=&quot;?????&quot;>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;></td>
<td bgcolor=&quot;?????&quot;>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;></td>
</tr>
<tr>
<td bgcolor=?????>
<img src=&quot;images/&quot; height=&quot;?&quot; width=&quot;?&quot; border=&quot;0&quot;></td>
</tr>
</table>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top