Web Analytics Made Easy -
StatCounter tables across from eachother..not under - CodingForum

Announcement

Collapse
No announcement yet.

tables across from eachother..not under

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tables across from eachother..not under

    this is makin me mad...I cant seem to make a tables that are across from eachother..every time i make a new table, it goes under the first one even though i did not make a line break..does anyone know?.

  • #2
    Hi there velious,

    Try it like this...
    Code:
    <html>
    <head>
    [color=navy]
    <style type="text/css">
    table{float:left;}
    td{width:100px;height:100px;border:solid 1px #000000;}
    </style>
    [/color]
    </head>
    <body>
    [color=navy]
    <table><tr>
    <td>left</td>
    </tr></table>
    <table ><tr>
    <td>right</td>
    </tr></table>
    [/color]
    </body>
    </html>
    cthead
    ~ the original bald headed old fart ~

    Comment


    • #3
      or, if you want to do it the wrong, outdated way, you could put a big table around the whole shebang. One table goes in the first <td> and one goes in the other.
      Code:
      <table>
      <tr>
      <td>
      <table>...</table>
      </td>
      <td>
      <table>...</table>
      </td>
      </tr>
      </table>
      Not recommended, but it'll work...

      -Rich
      drums | web

      Comment

      Working...
      X