+ Reply to Thread
Results 1 to 2 of 2

Thread: Center website

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    35

    Center website

    I have created a simple HTML template , but i`ve got a problem while zooming in and out.
    When i zoom in the website goes to the left and when i zoom out website goes to right.
    Which is very ugly , what i need is whenever i zoom in or out website stays centerliazed in the web page.

  2. #2
    In CSS inside body add :
    Code:
    body {height:auto; width:1000px; margin: 0 auto;}
    You can adjust the width depends on the desired width.

+ Reply to Thread

Tags for this Thread

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