www.webdeveloper.com
Results 1 to 5 of 5

Thread: Someone help me here...

  1. #1
    Join Date
    Sep 2005
    Posts
    2

    Someone help me here...

    I am trying to do this table command with two of these tables exactly as it is written side by side, but no matter what I try the two tables wind up one on top of the other and not side by side like I am wanting. Can someone please help me here.

    <TABLE BORDER=3 width=340 CELLSPACING=3 CELLPADDING=3>

    <TR>

    <TD ROWSPAN="2" ALIGN=center WIDTH="200">How about this?</TD>
    <TD ALIGN=center WIDTH="200">Cell</TD>
    </TR>

    <TR>
    <TD ALIGN=center WIDTH="200">Cell</TD>
    </TR>
    </TABLE>

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    use CSS, give them both a float: left style, but if the browser gets resized smaller they are always going to end up that way, unless you use relative widths

  3. #3
    Join Date
    Sep 2005
    Posts
    7
    If you don't want to use CSS, use another table to contain the first two.

    Code:
    <table>
      <tr>
        <td>
          Insert table 1 here
        </td>
    
        <td>
          Insert table 2 here
        </td>
      </tr>
    </table>
    This method is frowned upon as CSS is the better way to go.

  4. #4
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    no reason not to use CSS, even if you keep the tables you can still just place an inline style in them and that will make the two tables side by side, no point in added even further tables!

  5. #5
    Join Date
    Sep 2005
    Posts
    2
    Thank you all.

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



Recent Articles