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 8198167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:53:39+00:00 2026-06-07T05:53:39+00:00

I have a problem with my site. When I resize the window everything stays

  • 0

I have a problem with my site. When I resize the window everything stays still and doesn’t move, the window just crosses over everything.

Here are the images to epxlain it a bit better.. hopefully.

This is the site in normal window – http://imageshack.us/photo/my-images/407/problem2a.jpg/

and when resized – http://imageshack.us/photo/my-images/696/problemim.jpg/

Can anyone tell me what the problem is? I would like my layout to work like this website – http://www.thisoldbear.com/

  • 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-06-07T05:53:40+00:00Added an answer on June 7, 2026 at 5:53 am

    Next time, please add your HTML and CSS code to your question as it makes everything so much easier and you’ll get more accurate answers.

    By looking at your pics I get the feeling that you’ve added left side padding/margin (150px something?) to try and center your content, when you really should have added this to your container DIV(s)

    margin: 0 auto;
    

    This will center the content and keep it centered when you resize the window

    Update

    HTML

    <div id="container">
      <header>
        <div id="logo"></div>
        <nav>
          <a href="#">Home</a>
          <a href="#">About</a>
        </nav>
      </header>
    </div>
    <div class="content">
      ...
    </div>
    

    CSS

    body {
      background: url(../../core/images/bg.png);
      font-family: 'Pontano Sans', sans-serif;
      padding: 0;
      margin: 0;
    }
    
    #container {
      width: 100%;
      height: 80px;
      background: url(../../core/images/header.png);
    }
    
    #content, header {
      position: relative;
      width: 800px;
      margin: 0 auto;
    }
    
    #logo {
      position: absolute;
      top: 0;
      left: 0;
      width: 124px;
      height: 171px;
      background: url(../../core/images/logo.png);
    }
    
    nav {
      padding: 0;
      margin: auto 0px auto 150px;
    }
    
    nav a {
      text-decoration: none;
      font-size: 17px;
      color: #f4f4f4;
      outline: none;
      margin: 0px 0px 0px 50px;
    }
    nav a:hover { text-decoration: underline; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with site deployed on IIS6 sever. Here the problem, when
I have a problem with the site I maintain where everything renders fine in
I have a problem with my site. I want that the shadow stops at
I have a problem on my site's login page in IE7 browser. One of
I have a problem in a site that I am trying to develop Sometimes
I have a problem with my site. The site has multiple entities: Articles, Posts,
i have this annoying problem with my site where, when you click on a
I have a problem with my search on my site I don't understand why
I have a problem with Drupal uploads path when in a multi language site.
I'm re-designing a Web site and I have a problem with the existing data

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.