why do tables hate me?

windows

Guest
i realize there is probably a better way to do this but.....<br />
<br />
i have a table (height=72 width=268 border=0 cellpadding+spacing=0)<br />
<br />
within that table there are three things. it should look like this<br />
with no visible borders. one cohesive graphic.<br />
<br />
------------------------------------<br />
i m a g e # 1<br />
image#2 image#3<br />
---------------------------------------<br />
<br />
<br />
#1 tr/td- h=54 w=268 b=0 align=center valign=middle cp+s=0 with an image<br />
<br />
then <br />
<br />
#2 tr/td h=18 w=168 b=0 cp+s=0 with an image<br />
<br />
and<br />
<br />
#3 td h=18 w=100 b=0 cp+s= with an image<br />
<br />
now my problem/question is... <br />
<br />
it looks like this<br />
<br />
-----------------------------------<br />
i m a g e #1 l<br />
image #2 l image#3<br />
------------------------------------<br />
<br />
<br />
<br />
#1 is fine.<br />
#2 doesnt line up flush (top and bottom) with image #1.<br />
#3 is pushed over past the edge of image 1 and doesnt line up flush (top and bottom) with image #1. it also has a slight border to it. <br />
<br />
when i rewrote it using 2 seperate tables (one for #1. one for #2 and #3) it lined up correct on the side but there was still the top and bottom gap. i also tried different align and valign tags within image #2 and#3 to no avail.<br />
<br />
please god help me before i throw my computer out the window. thanks.<!--content-->It would be more helpful if you posted the exact code here.<!--content--><html><br />
<head><br />
<title>.:nik korpon. online portfolio:.</title><br />
<br />
</head><br />
<br />
<body bgcolor="94a905" link="ffffff" alink="ffbb30" vlink="ffbb30"><br />
<!-- main table--><br />
<br />
<table width="100%" height="100%" align="center" valign="middle" border=0"><br />
<tr><br />
<td><br />
<br />
<br />
<br />
<table height="72" width="268" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0"><br />
<tr height="54" width="268" cellpadding="0" cellspacing="0" border="0"><br />
<td><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"name72.jpg"><br />
</td><br />
</tr><br />
<br />
<tr height="18" width="168" border="0" cellpadding="0" cellspacing="0"><br />
<td><br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"portfolio.html"><br />
<br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"portfolio72.jpg" name="portfolio" alt="portfolio"<br />
border="0"><br />
</a><br />
</td><br />
<br />
<td height="18" width="100" cellpadding="0" cellspacing="0"><br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"resume.html"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"resume72.jpg" name="resume" alt="resume"<br />
border="0"><br />
</a><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><!--content-->Try the code below. Putting line breaks and spaces inside <td> tags matters when trying to place images together with no gaps.<br />
<br />
<table width="100%" height="100%" align="center" valign="middle" border="0"><br />
<tr><br />
<td><br />
<table width="268" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td colspan="2"width="268"><img src=http://www.webdeveloper.com/forum/archive/index.php/"name72.jpg"></td><br />
</tr><br />
<tr><br />
<td width="168"><a href=http://www.webdeveloper.com/forum/archive/index.php/"portfolio.html"><img src="portfolio72.jpg" name="portfolio" alt="portfolio"border="0"></a></td><br />
<td width="100"><a href=http://www.webdeveloper.com/forum/archive/index.php/"resume.html"><img src="resume72.jpg" name="resume" alt="resume" border="0"></a></td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><!--content--><table height="72" width="268" align=center border="0" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td colspan="2" align="center"><img src=http://www.webdeveloper.com/forum/archive/index.php/"name72.jpg"></td><br />
</tr><br />
<tr><br />
<td align="right"><a href=http://www.webdeveloper.com/forum/archive/index.php/"portfolio.html"><img src="portfolio72.jpg" name="portfolio" alt="portfolio" border="0"></a></td><br />
<td align="left"><a href=http://www.webdeveloper.com/forum/archive/index.php/"resume.html"><img src="resume72.jpg" name="resume" alt="resume" border="0"></a></td><br />
</tr><br />
</table><!--content-->
 
Back
Top