Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6369225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:46:36+00:00 2026-05-25T00:46:36+00:00

This is my 2nd attempt at getting this fixed! I fixed the first problem

  • 0

This is my 2nd attempt at getting this fixed! I fixed the first problem with help from Stobor, now this second problem seems to be a bit tricky, but it cant be that hard right?

As you can see here http://dekkro.no-ip.org/ I have a completely centered image, and a styled div with a login box.

What I am trying to achieve is that the login box, is ALWAYS 100% dead center of that image. It is centered for me, but for a lot of people with smaller resolutions it is not.

Here is the problem: http://dekkro.no-ip.org/problem.png

Is there a way to fix this? My code is a bit messy but understandable. I have been trying to do this since 5am and it’s now 5pm! Struggling a bit here!
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:46:37+00:00Added an answer on May 25, 2026 at 12:46 am

    Here you go…tested in firefox, ie9, chrome and opera. Hope this works in the problem resolution or gives you a start.

    screenshot

    <html>
    <head>
        <style type='text/css'>
        html, body{
            margin: 0px; /* some browsers add a margin at the top, get rid of it to have proper positioning */
        }
        body{
            background-image: url('blahbg.png');
        }
        .Centered{
            margin-right: auto;
            margin-left: auto;
            align: center;
        }
        .LayoutContainer{
            background-image: url('blink.gif');
            background-position: bottom left;
            background-repeat: no-repeat;
            height: 100%;
            width: 100%;
        }
        .BodyContainer{
            background-image: url('testimage.png');
            background-repeat: no-repeat;
            margin-top: 50px; /* to bring the layout-body down a bit you want this */
            height: 425px;
            width: 690px;
        }
        .MiddleContainer{
            text-align: center;
            padding-top: 20px;
            width: 200px;
        }
        .LoginContainer{
            border: 1px solid #000000;
            background-color: #FFFFFF;
            margin-top: 20px;
            height: 230px;
        }
        .InfoContainer{
            border: 1px solid #000000;
            background-color: #FFFFFF;
            margin-top: 20px;
            height: 30px;
        }
        </style>
    </head>
    <body>
    
    <div class='LayoutContainer'>
        <div class='BodyContainer Centered'>
            <div class='MiddleContainer Centered'>
                <div class='LoginContainer'><img src='logo.png' /></div> 
                <div class='InfoContainer'></div>
            </div>
        </div>
    </div>
    
    <body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first post here and I wanted to get some input from
I don't get why it'd doing this with the 2nd feed (appearing as a
This is a bit of a long shot, but if anyone can figure it
This most be the second most simple rollover effect, still I don't find any
From Effective Java 2nd edition item 67 page 266-268: The background thread calls s.removeObserver
After getting good help previously, I have completed my Minesweeper game. However, there is
I am a total jQuery (and JS) beginner. For my first attempt, I want
I have another Javascript regex conundrum... (apologies if this is a bit long-winded -
I couldn't figure out what is the problem for this exception. The type initializer
[please start at comment to see where this problem is currently at, thanks. Hopefully

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.