Help with Tables!!

Man I hate making tables. I was wondering if somebody can help me out with this. I have created a new layout for a website, using Photoshop. I sliced up the layout into cells and divided the whole thing into 3 tables. Top/Center/Bottom. But for some reason there is a 1-2 pixel space inbetween the Top and Center tables. And I can't get rid of it. I think I have tried just about everything. I know I've had this problem before, but I don't know how I got around it. If somebody can please tell me what I'm doing wrong, I would appreciate it.<br />
<br />
Here's the webpage:<br />
<!-- m --><a class="postlink" href="http://www.afterefx.com/pilot/home.html">http://www.afterefx.com/pilot/home.html</a><!-- m --><br />
<br />
Also, if anyone knows of a tutorial or a website where it can teach me the tricks of working with tables, I would appreciate it. I know how tables work basically, but I don't know EVERYTHING. Like for example I just found out if you set the width of one cell in a table, you have to set the width of all the other cells in that row, or something like that. Where can I find all those little secrets to make my life easier? <br />
<br />
Thanks in advance!<!--content-->Ok your problem will most likely be a whitespace one.<br />
<br />
Open and close all your <td> tags on the same line of carriage. ie:<br />
<br />
<td><img src=http://www.htmlforums.com/archive/index.php/"blah"></td><br />
<br />
and not<br />
<br />
<td><br />
<img src=http://www.htmlforums.com/archive/index.php/"blah"><br />
</td><br />
<br />
Tables with dimensions do not stay that size if they cannot fit in all their data. By having spaces and returns of carriage there you are inherently including more data for the td to include. <br />
<br />
If you want to learn how to use tables then a simple web search will help you. But if you want to learn by experiance then get a copy of nesape and use composer. I learnt tables with composer. Quite powerful really for what it does... so with composer make a table a study the source.<br />
<br />
If you still have probs after that let me know. Good Luck.<!--content-->2 TOP html sites:<br />
<br />
<!-- m --><a class="postlink" href="http://www.lissaexplains.com">http://www.lissaexplains.com</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.weballey.net">http://www.weballey.net</a><!-- m --><br />
<br />
:rocker:<!--content-->Make sure all your tags are closed, e.g. every <td> has a </td> tag for example. Also try to use following in style sheets:<br />
<br />
<style><br />
TD,TR {margin: 0px;}<br />
</style><!--content-->thanks a lot for the help you guys. I got it working. I don't really know what the problem was, but I was messing around and somehow it started working. It probably had to do with what Entimp said. I didn't know that you should open and close cells on the same line. Thanks again.<!--content-->
 
Back
Top