• Lucid Dreaming - Dream Views
    + Reply to Thread
    Results 1 to 3 of 3
    1. #1
      Member
      Join Date
      Feb 2005
      Posts
      84
      Likes
      0

      Question about this sites html code.

      UH, yea, I just wanted to know how you get a table to be the width of the page. LIke the way the navigation bar and the picture is. It starts at the begining and goes to the end. How you do dat?

    2. #2
      Member wasup's Avatar
      Join Date
      Oct 2003
      Gender
      Posts
      4,667
      Likes
      21
      Check the page source.

    3. #3
      Member Kaniaz's Avatar
      Join Date
      Dec 2003
      Gender
      Location
      England
      Posts
      5,449
      Likes
      8
      do this. should work if my memory is correct but it probably isn't.

      <html>
      <head>
      <title>whatever</title>
      <style>
      /* this peice of code makes it so it can span all the way */
      body {margin: 0px; }
      </style>
      </head>

      <body>


      <table width="100%" border="0" cellpadding="0">
      <tr>
      <td>Table cell one.</td>
      <td>Hi, I'm cell two.</td>
      </tr>
      </table>

      </body>

      </html>

      EDIT: moved to feedback, it fits there best.

    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