Extra space after asp:tablecells?

D

Diane Yocom

I'm dynamically building a table in the code behind and I'm having a problem
with an extra space after the tablerow. The HTML renders like this:

<td>
<a href="#"><img src="mypicture1.bmp" border="0" /></a>
</td>
<td>
<a href="#"><img src="mypicture2.bmp" border="0" /></a>
</td>
<td>
<a href="#"><img src="mypicture3.bmp" border="0" /></a>
</td>

If I were to compress each <td> into one line (as below), the extra space
does not appear after the row:

<td><a href="#"><img src="mypicture1.bmp" border="0" /></a></td>
<td><a href="#"><img src="mypicture2.bmp" border="0" /></a></td>
<td><a href="#"><img src="mypicture3.bmp" border="0" /></a></td>

Is there anyway around the extra spacing that ASP.net is forcing into my
table?

TIA,
Diane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top