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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubles with tables

Status
Not open for further replies.

fastfirebird

Programmer
Nov 17, 2000
17
CA
I created this web page, and am having troubles with the tables on it. If you go to and take a look, you will see what I mean. There should not be a gap around the "title". I created it using Microsoft FrontPage. If you could help me out with this problem I would appreciate it allot !!!!

Thank you
Clark Allan
 
Well, first of all, lose frontpage. Then, open up your code in Notepad (ugly isn't it) and clean it up. Indent your tables and cells so that you can see where it starts and ends easily. Now, to get your images to socialize better, make sure you put your <td>, your <img> tag, and your </td> all on the same line. Otherwise the newline is counted as a space. Also, make sure your tables have cellpadding=0 and cellspacing=0. And be sure you set your widths absolute where necessary and relative where necessary.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
Hi fastfirebird,

Try make change in this row..

<TR>
<TD width=15 colspan=2><IMG height=&quot;100%&quot; src=&quot;master_files/border_09.jpe&quot; width=15></TD>
<TD colSpan=1>With the unlikely slogan......</TD>
<TD width=17 colspan=4><IMG height=&quot;100%&quot; src=&quot;master_files/border_11.jpe&quot; width=17></TD>
<TD width=1></TD></TR>

this should remove the gap, however the title bar will appears longer.

hope this helps, Chiu Chan
cchan@gefmus.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top