Results 1 to 2 of 2

Thread: Fixed window size of webpage...How to do it?

  1. #1
    Join Date
    Nov 2005
    Posts
    3

    Fixed window size of webpage...How to do it?

    How can I fix a window size of webpage in DreamweaverMX.

    I'd like to build an website of fixed size 1024/768, so if I place on my web page a background picture of 1024/768 size it won't be possible for the user to stretch the browser or the background image won't tile and will remain in the centre of browser window like on the Velvet Revolver website.
    www.velvetrevolver.com

  2. #2
    Join Date
    Mar 2004
    Location
    China
    Posts
    3,315
    That site doesn't have a background image. It's just one big flash file. However, if you did want a background image of fixed size centered on the screen, you just use this css.

    body {
    background-image:url(file.gif);
    background-repeat:no-repeat;
    background-position:center center;
    }

Posting Permissions

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