SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Location
    Virginia
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do you center my web site?

    I purchased a template and I need for the web site to be centered when user changes monitor resolution. All my pages are Left justified. I tried highlighting the tables etc. and set them to center but nothing happens. Help
    here is my web site I'm working on www.vizcon.net
    Thanks,
    Mike

    By the way, I'm using Dreamweaver MX

  2. #2
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,054
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Use margins for your page body, setting a percent. If you want your page to display in 60% of the screen, set the percents for right and left margins at 20%. Remember to also set margins for the top of your page though, or 20% will bring it way down on your screen.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  3. #3
    SitePoint Addict sdamos's Avatar
    Join Date
    Sep 2003
    Location
    Arizona
    Posts
    275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It should all reside in a table itself, can you not just center the outer most table? Just click the text center justification while the table is highlighted, it will center tables that way as well.

    Seems simple enough, but I am not looking at the template in DW. If it is not, try putting it in a table and then do it, that way it should center in all sizes. If not I am afraid you will probably need to toss some CSS in it and I do not know how to do that well enough to help.


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
  •