Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2002
    Location
    Mumbai,India
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Display web page to fit window width as per resolution 800x600 or 1024x768

    Dear All

    I have designed a web page for 800x600

    In case the same site is viewed in 1024 resolution, I want to dispay to its full length showing additional column so that the web site will be displayed to its full length

    How can I do it

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    865
    Thanks
    7
    Thanked 29 Times in 28 Posts
    you can try and do that in css. for example.

    body
    {
    width: 800px;
    height: 600px;
    }

    and if you want to center the contents of the page...add the following

    margin: 0px auto;

    hope that works for you.

    Good luck


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •