read_connect(); //$GLOBALS[ezoic_db]->read->query("use 17things"); ?>

How do you get a layout to center itself in different screen resolutions?

There are so many different screen resolutions! How do you get a layout to be centered under different screen resolutions? (Take this yahoo answers page for example.. everything is centered. If I use a different resolution, it will be as well)

Related Items

One Response to “How do you get a layout to center itself in different screen resolutions?”

  1. DayTripper said :

    In the style of your container — you are using styles, aren’t you? — add this line…

    margin: 0px auto;

    That will center the container div / table of your page.




Message:

[newtagclound int=0]

Subscribe

Recent Comments

Recent Posts

Archives