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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:15:34+00:00 2026-05-28T08:15:34+00:00

In my .css, I’m using a fixed width, centered layout with: #page-container { width:

  • 0

In my .css, I’m using a fixed width, centered layout with:

#page-container {
width: 760px;
margin: auto;
padding-top: 10px;
}

All pages using the .css are the same width. If I insert bullet points into a div, it seems to move to the left by a few pixels and is no longer centered. This also happens if I insert an iframe.

Perhaps someone more experienced could suggest the cause?

[Edit]

It’s being caused by the scrollbar appearing as I add content. Is there anything I can do about this?

  • 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-28T08:15:35+00:00Added an answer on May 28, 2026 at 8:15 am

    To keep the page from shifting, you should set the body style to overflow:scroll so there’s always a scrollbar.

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

Sidebar

Related Questions

css: .listingContainer { margin:auto; overflow:hidden; padding:0 0 16px 16px; width:660px; } .listingItem { float:left;
CSS :- #sidebar .sidelink h6{ margin-left: 10px; padding-left: 22px; padding-top: 9px; color: #f1f1f1; font-size:
css: #container_im.collapsed{ background-color:red; height: 48px; margin-bottom: 10px; margin-right: 10px; width: 227px; } #container_im.expanded{ background-color:green;
css #inchannel li{ width:179px; height:40px; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; font-size:17px;
CSS #acc-close-all, #to-top { position: relative; left: 951px; width: 29px; height: 42px; margin-bottom: 2px;
CSS doesn't support arithmetic such as margin-left: -60px + 50% of the width of
CSS: .blue { width:200px; height:200px; background-color:blue; color:#000000; overflow:auto; } JavaScript: function addChar() { $('.blue').append('some
CSS: #holidayclosings ul{ margin:0; padding:0; background:red; } HTML: <ul id=holidayclosings> <li>Saturday, December 24: <b>Closed</b></li>
CSS #mainTopicTable { padding:20px; } HTML <table width=80% height=1600px border=1 align=center id=mainTopicTable> <th width=80%>Topics</th>
CSS: #content { width:630px; } .all_friends { background:url(../img/friends.png) no-repeat; margin-left:15px; height:123px; width:615px; padding-bottom:20px; }

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.