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!

help I have a phantom space

Status
Not open for further replies.

crystalized

Programmer
Jul 10, 2000
390
CA
I have the following code
[tt]
<body bottommargin=0 leftmargin=0 topmargin=1 rightmargin=0>
<table WIDTH=&quot;75%&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot;>
<tr>
[tab]<td nowrap align=right colspan=2 valign=bottom>

------Button Images Here (code is a little long so I left it out)---------------

[tab]</td>
</tr>
<tr>
[tab]<td width=&quot;22%&quot; class=&quot;bgHeading&quot;>
[tab[tab]<img SRC=&quot;../../images/eq.gif&quot; WIDTH=&quot;134&quot; HEIGHT=&quot;131&quot; border=0>
[tab]</td>
[tab]<td class=&quot;bgHeading&quot;>
[tab][tab]<h1 Class=&quot;h1Heading&quot;>Switchboard</h1>
[tab]</td>
</tr>

----Rest of table stuff down here----------
[/tt]

As you can see I have a table with the button images in the first row and the second row has an image and a heading.

My problem is that there is space between the first row and the second row. I have removed the cellspacing and cellpadding (set to 0) and I have no breaks or anything.

I am creating this via ASP and the button images mentioned are created using Visual Interdev DTC's. Now the problem could be the Visual Interdev DTC's but I thought I would post here and see if anyone can spot a definite problem with my table tags.

Thanks in advance for the help.
 
Well after trying the same thing a couple different times I finally have come up with a solution.

I have changed the buttons to <A HREF><IMG></A> and so far that seems to be working. Although the odd thing is that I know that I tried that at least once prior to this and it did not work (must have been missing something I guess)

 
</td> tags need to be on the same line as the preceding image, thats it

MiQ
mcvdmvs@mcvdmvs.net
Yeah, well, erhm, ok... I'm busy trying to teach myself JavaScript, C++, Java and other webrelated stuff.
 
Thanks,

Actually I just read another post stating that same thing and immediately thought of this old problem. The Interdev DTCs don't let you put the end td tag on the same line as the start. But at any rate I have switched to a completely different method now anyway so thankfully I don't need to handle it, but it is always good to know the solution.

Crystal
crystals@genesis.sk.ca

--------------------------------------------------

Experience is one thing you can't get for nothing.

-Oscar Wilde

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top