Results 1 to 3 of 3

Thread: How to hide the border of table row when using colspan

Hybrid View

  1. #1
    Join Date
    Aug 2014

    How to hide the border of table row when using colspan

    I have a code below in html format.

    int l_field_num = 5;

    if (sys_l_b_tot != 0)
    str = str + "<TR><TD COLSPAN=" + Convert.ToString(l_field_num) + " ALIGN=\"RIGHT\"><B> Total:</B> " + sys_l_b_tot.ToString("C") + "</TD></TR>";

    My problem is that when ever I display the above code in the web site its showing the entire row with border ...now I don't want border.

    how can I remove border ...Any help...

    Any properties for colspan to hide the border...

  2. #2
    Join Date
    Sep 2008
    Akron, OH
    My guess is the border is set on the table element ... not the TR or TD. Where's the code or markup for the start of the table?
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

  3. #3
    Join Date
    Mar 2012
    You should not be using obsolete HTML styling like "align" or "border". This is a CSS issue. Thread moved. Look up the CSS text-align and border properties to see how to set them up. For further info, see the CSS Table tutorial...
    Last edited by jedaisoul; 08-26-2014 at 02:43 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center