Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2013
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    help with table span

    hi how would i make the cell on the right with ggg in it just one cell not two?


    <TABLE Border = "1" Cellpadding = "0" Cellspacing = "0">
    <TR>
    <TD colSpan = "3">Hours</TD><td>gggg</td>
    </TR>
    <TR>
    <TD>Tow 2</TD>
    </TR>
    <tr>
    <td>hi</td>
    </tr>
    </TABLE>

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,763
    Thanks
    23
    Thanked 548 Times in 547 Posts
    Your question makes no sense. Your coding is wrong. You have to have the same number of <td>s on each row!
    Look into colspan and rowspan
    http://www.w3schools.com/tags/att_td_colspan.asp
    Evolution - The non-random survival of random variants.


  •  

    Posting Permissions

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