Extra space after asp:tablecells?

Discussion in 'ASP .Net' started by Diane Yocom, Apr 15, 2004.

  1. Diane Yocom

    Diane Yocom Guest

    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
     
    Diane Yocom, Apr 15, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gane kol

    Building Dynamic tablecells

    gane kol, Mar 17, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    360
    Lars Netzel
    Mar 17, 2005
  2. Mark Rae

    Adding events to TableCells

    Mark Rae, Nov 17, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    617
    Mark Rae
    Nov 17, 2005
  3. Hugo de Payns
    Replies:
    5
    Views:
    527
    Leif K-Brooks
    Oct 2, 2003
  4. Shuo Xiang

    Stack space, global space, heap space

    Shuo Xiang, Jul 9, 2003, in forum: C Programming
    Replies:
    10
    Views:
    2,980
    Bryan Bullard
    Jul 11, 2003
  5. =?Utf-8?B?ZHc=?=
    Replies:
    5
    Views:
    1,148
    Alan Silver
    Jul 30, 2006
Loading...

Share This Page