How to Centre a 800 x 600 website?

Discussion in 'Web Design' started by Trader, Aug 24, 2005.

to remove all ads.
  1. Trader

    Trader New Member

    Messages:
    6
    Hi All

    I am currently developing a website for 800 x 600. I have made the width 744 fixed pixels, which i think is good...

    The question that I was really asking (And hoping that someone might be able to help! :) ) is that when viewing this site on 1152 x 864 (or say 1024 x 768) How do you centre the page?

    Like they have done on http://www.bonuscodevault.com for instance. I think this looks better if its centre, instead of how it automatically uses goes to the left of the internet explorer.
     
  2. StephanieCordray

    StephanieCordray New Member

    Messages:
    1,017
    <table width="744" border="0" align="center" cellpadding="0" cellspacing="0"> Of course you will have at least one set of <tr> and <td> in here, too, but this is how you center it.</table>
     
  3. SiteExpress

    SiteExpress New Member

    Messages:
    280
    Like Steph said. Just include the entire page in a table, and center the table.
     
  4. RAJO

    RAJO New Member

    Messages:
    177
    it gives me an error
     

Share This Page