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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:26:16+00:00 2026-06-06T16:26:16+00:00

http://dl.dropbox.com/u/13722201/Dorset%20Designs/index.html As you will see when you resize the browser everything does centralise until

  • 0

http://dl.dropbox.com/u/13722201/Dorset%20Designs/index.html
As you will see when you resize the browser everything does centralise until the browser edge touches the main div and then only the navigation bar stays centralised.
I know this is a problem with my coding, but I cant find the problem.
here is the css as well
http://dl.dropbox.com/u/13722201/Dorset%20Designs/main.css

thanks in advance
Arran, 16

  • 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-06T16:26:18+00:00Added an answer on June 6, 2026 at 4:26 pm

    In your stylesheet just make the below edit, please find it below :-

    #main {
        background: none repeat scroll 0 0 #0099FF;
        box-shadow: 0 5px 10px 3px #000000;
        height: 1600px;
        left: 0; /* right: 20px; this has been changed to 0;*/
        margin-left: auto;
        margin-right: auto;
        position: absolute;
        right: 0; /* right: 20px; this has been changed to 0;*/
        top: 0;
        width: 960px;
        z-index: -1;
    }
    

    Edit – The explanation:

    As you have given the right and left value to 20px hence its forcing the <div id="main"> to move 20px from left side. Thats the reson a 20px space was generating while you were resizing the browser to fit the div.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have put my site in dropbox so you can see it http://dl.dropbox.com/u/13722201/Dorset%20Designs/home.html when
Try this link on Firefox or Chrome: http://dl.dropbox.com/u/34375299/aaa/index.html Notice a simple animation appears on
I've written a custom slider for this project http://dl.dropbox.com/u/18292748/Sites/enblaze/index.html and it seems to work
http://dl.dropbox.com/u/921159/desktopography/index.html I'm building a wallpaper blog and trying to use jquery to show/hide a
I'm trying to use enhance.js to load scripts only on desktops : http://dl.dropbox.com/u/426954/allora/index.html <script>
http://dl.dropbox.com/u/18795563/index.html How do i make the sidebar on the right the same height as
http://dl.dropbox.com/u/18795563/BLOGDESIGNNEW/index.html In FireFox, Why is there no margin on the left of the hgroup
When viewing this url http://dl.dropbox.com/u/1550420/jquery/flickr.html , we see a list of images pulling from
I have website A: http://dl.dropbox.com/u/3264697/calc/v2/index.html It is working as intended, 100%. I have website
The following page will not display in ie. http://dl.dropbox.com/u/6957663/muchWorth.html I believe it has to

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.