SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2000
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whey can't they just lineup correctly:
    ----------------
    <html>

    <head>
    <title>New Page 2</title>
    </head>

    <body>
    <div align="left">
    <left>
    <table border="0" cellpadding="0" cellspacing="0" width="25%" align="left">
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    </table>
    </left>
    </div>
    <div align="center">
    <center>
    <table border="0" cellpadding="0" cellspacing="0" width="25%" align="center">
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    </table>
    </center>
    </div>
    <div align="right">
    <right>
    <table border="0" cellpadding="0" cellspacing="0" width="25%" align="right">
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    <tr>
    <td width="100%"></td>
    </tr>
    </table>
    </right>
    </div>

    </body>

    </html>
    ----------------

  2. #2
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What might help to start with is to get rid of the divs and the excess tr/td and make this a bit smaller to see what is going on. Once you do that then look at the table tags and see how you have a center,left and right tags on the 3 table. What is happening I think is that the center align is the problem try it with right aligh and they line up fine.

    I do not use tables in this manner, but if it were me I would use one table with no divs and then nest other table inside the td where you need it.

  3. #3
    SitePoint Member
    Join Date
    Sep 2000
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried reading the code you posted and just got totally lost. It's typical for me, so don't worry about everyone else getting lost also

    It looks like you are trying to do a three-column layout. My site uses a similar layout, but I just had one large table with three different cells in one row.

    I think this would achieve a similar effect as to what you are trying to create. Take a look at http://mywebresources.hypermart.net/?sitepoint-forum and see if that is what you are trying to do.

    --Jesse Seymour
    ==================================
    FREE articles and resources to ease the struggles of being a webmaster at http://mywebresources.hypermart.net/?sitepoint-forum

  4. #4
    SitePoint Enthusiast
    Join Date
    Sep 2000
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's what I ended up doing also.

  5. #5
    will code HTML for food Michel V's Avatar
    Join Date
    Sep 2000
    Location
    Corsica
    Posts
    552
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, you can't DIV-ALIGN 3 things LEFT, CENTER, and RIGHT on the same "line". 2 things either. It's a very typical error for a beginner. I made it too.

    But here's a rule: "There's always a TABLE to make."
    [blogger: zengun] [blogware contributor: wordpress]


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
  •