Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1

    Default How can I place a website in the middle of the screen?

    Hi there

    Im just working on a new Website for my own band Project. I use webdesigner 6 and I would like to create a Website that is shown on every Screen exactly in the middle....

    Heres what I have created so far - Position is still on top of the Screen, but not in the middle...

    http://www.punschies-rockmuseum.de/mpb_index.htm

    many thanks for your help - cheers from Munich/Germany


    Marty

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,535

    Default Re: How can I place a website in the middle of the screen?

    It's smack dab in the middle of my Firefox browser.

    Xara centers your website by default. You don't need to do anything.

  3. #3

    Default Re: How can I place a website in the middle of the screen?

    many thanks Gary, so it is just an browser problem....

  4. #4

    Default Re: How can I place a website in the middle of the screen?

    I think the OP might be talking about vertical centering, not horizontal centering.

    Place this code snippet in the HTML code (head) of the Website tab in Web Properties

    HTML Code:
    <style>
    #xr_xr {
       margin-top: 30px;
    }
    </style>
    This will create a 30px top page margin, you can change this by editing that code snippet.

  5. #5

    Default Re: How can I place a website in the middle of the screen?

    Website is in the middle but at the top of the screen in Firefox and IE.

  6. #6
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,962

    Default Re: How can I place a website in the middle of the screen?

    That's what Gary is trying to tell you. If you open Web Properties / Web Site and click on the html code head button & paste in:

    <style>
    #xr_xr {
    margin-top: 30px;
    }
    </style>

    into the html code head window and hit apply it will give you a 30 pixel space at the top of every web page
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

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
  •