Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    1

    Default Page position in webdesigner 6

    What is the best (e.q. the simplest) way to put a page in webdesigner so, that it is shown in your browser centred, aswell as horizontal as vertical?

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Page position in webdesigner 6

    There's no easy way to have vertical centering. You'd need a Javascript for it.
    John.

  3. #3
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Page position in webdesigner 6

    Hi John

    Could this method be used ?

    Code:
    <style type="text/css">
    
    body {
         position: relative;
         top: 50%;
         margin-top: -240px /* Half height of page */
         }
    
    </style>

    Edit: Pop up photos offset with this method
    Attached Files Attached Files
    Last edited by Drwyd; 01 May 2011 at 10:25 PM.

  4. #4
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Page position in webdesigner 6

    Well, as I say, it's not that easy.
    You can see that this doesn't work well if your page is actually higher tan the browser window. Besides it ruins rollowers, pop-up and other effects.
    John.

 

 

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
  •