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

  • SEARCH
  • Home
  • 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 7506225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:11:29+00:00 2026-05-29T22:11:29+00:00

Why is it that what feels like it should be the most simple of

  • 0

Why is it that what feels like it should be the most simple of tasks to me is always the most perplexing… Its in the title… but I have played for yonks but cant get it to work for me!

Essentially (just to make it even more plain I am hoping to get the following) (the image is the div background).

enter image description here

so whatever the size of the browser window the div is always centralised!

Thank you for any advice you can give… [=

edit: Basically what I am trying to achieve is a cheating way of having a popout window for a registration form.

so at the moment the entire page consists of the following:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta name="description" content="" />
  <meta name="keywords" content="" />
  <title>BlurbeRella - Registeration</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css" />
  <link rel="stylesheet" type="text/css" href="style.css" />
 </head>
 <div id="registerpage">
  <img src="images/registerpage.png" class="registerpage" />
 </div>
</html>

CSS:

img.registerpage{ 
 text-align: center;
 top: 100%;
}

#registerpage{
 text-align: center;
 width: 100%;
}

the css is my feeble attempt to keep it central…..

basically: the site at the moment (with no functionality yet) is blurberella.x10.mx

when the user clicks on register I will have the background image of the site itself so it looks like you are still on the same page.. then in the middle I will have my form… but to make sure that the site image still looks like a website I need it to remain central whatever the browser size!

I hope this makes sense… I no that I am cheating at this but with my current knowledge this is the best I can pull off…. I am still learning!

  • 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-29T22:11:32+00:00Added an answer on May 29, 2026 at 10:11 pm

    Maybe I misunderstood the question somewhere, but from my understanding you are looking for something like this.

    HTML:

    <body>
    <div id="imgholder"></div>
    </body>
    

    CSS:

    html, body {
        height: 100%;
    }
    
    #imgholder {
        height: 100%;
        background: url(image.png) center center no-repeat;
    }​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This feels like it should have a basic solution but I don't seem to
I have a relationship in a Core Data model that feels like it wants
This feels like the kind of code that only fails in-situ, but I will
I have a question that I just don't feel like I've found a satisfactory
We have a site that is serving some RSS feeds, and we'd like to
I'm aware of the Substance look and feels and that they have a Office
I have a Website that is really slow and feels really bad when using
I understand most of how a RESTful site design should function, but in implementing
I feel like I often name files in such a way that my computer
I know that services like my.yahoo.com allow you to add content from RSS feeds

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.