SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast falfool's Avatar
    Join Date
    Jun 2003
    Location
    Amman
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with HTML Tables...

    Hi,
    shortly, what i would like to do is: create 2 tables next to each other. not below each other, if there are any parameters for the tables like the Layers (top, left) i would like to know about, i used Layers then i switched to Tables, so plz tell me how would i do this
    Thanks in advance
    Ahmad Amireh

  2. #2
    SitePoint Zealot itsyM's Avatar
    Join Date
    Jul 2002
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by falfool
    Hi,
    shortly, what i would like to do is: create 2 tables next to each other.
    One solution is to use css.

    Code:
    <table style='float: left'>
    The other solution:
    I know this is not the best possible practice, but here goes anyway. Nested tables!

    Code:
    <!-- BEGIN: LAYOUT TABLE -->
    <table>
    
    <tr>
    <td><!-- Put the first table in this cell -->
    
    <!-- BEGIN: LEFT TABLE -->
    <table>
    <tr>
    <td>This table is on the left.</td>
    </tr>
    </table>
    <!-- END: LEFT TABLE -->
    
    </td>
    
    <td><!-- Put the other table in this cell -->
    
    <!-- BEGIN: RIGHT TABLE -->
    <table>
    <tr>
    <td>This table is on the right.</td>
    </tr>
    </table>
    <!-- END: RIGHT TABLE -->
    
    </td>
    </tr>
    
    </table>
    <!-- END: LAYOUT TABLE -->

  3. #3
    SitePoint Enthusiast falfool's Avatar
    Join Date
    Jun 2003
    Location
    Amman
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, thanks alot for ur great help i guess ill go with nested tables

  4. #4
    Forensic SEO Consultant Webnauts's Avatar
    Join Date
    Jun 2003
    Location
    European Union
    Posts
    1,491
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by falfool
    Well, thanks alot for ur great help [img]images/smilies/smile.gif[/img] i guess ill go with nested tables [img]images/smilies/biggrin.gif[/img]
    If you will go for nested tables, I hope that you are aware that they increase the loading time of your page. Especially, if 4 or more...


Bookmarks

Posting Permissions

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