SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: centre a table

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    rotterdam
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    centre a table

    I have made a lay out which has one table and drew my cells in it.
    The table is 760x500.
    But I want to centre this on every screenresolution.
    How do I do that?

    Thanks.

  2. #2
    SitePoint Addict
    Join Date
    Jun 2003
    Location
    Barrie, Ontario, Canada
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <table align="center">

  3. #3
    SitePoint Addict sdamos's Avatar
    Join Date
    Sep 2003
    Location
    Arizona
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rodney did you get it all worked out? If not, come back for more help. The answer you seek is simple enough, don't give up.

  4. #4
    Are You There? KDesigns's Avatar
    Join Date
    Oct 2003
    Location
    Your Monitor
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yup! Just like hockeykid stated above. If the condensed version still has you confused this is basically what a one cell table code would look like optimized for 800x600 resoultion.

    Code:
    <table width="760" cellpadding="0" cellspacing="0" align="center">
       <tr>
         <td>Here's your content!!!  Yippee!!</td>
       </tr>
    </table>
    ChooseDaily.com - Follow on Twitter
    Top Resources for Web Designers and Developers Every Day!


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
  •