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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:36:32+00:00 2026-06-14T09:36:32+00:00

I used with apprehension the position:absolute; in my container for my template so that

  • 0

I used with apprehension the position:absolute; in my container for my template so that I have the center and both sides placed.

However, as I feared, if you happen to want that your website is visited by someone else other than yourself, then don’t use it. This is because absolute position means one thing for you and another thing for someone else with a different monitor screen with different dimensions, right?

I went to another computer to see my web and the box was displaced towards the right?

Am I right in what I am saying?

thank you

here are my containers

#container-center{
  width:630px; /*** Set to = center col width ***/
  height:500px;
  float:center;
  font-size:8px;
  display:inline;
  position:absolute;
    left:450px;
    top:80px;

/* \*/
  margin-left:-1px;
/* Hidden from IE-mac */
}



#left_container_home{
  width:150px; /*** Set to = center col width ***/

  height:500px;

  font-size:8px;
  display:inline;
  position:absolute;
    left:250px;
    top:80px;

/* \*/
  margin-left:-1px;
/* Hidden from IE-mac */
}


#right_container{
  width:200px; /*** Set to = center col width ***/

  height:500px;
  float:right;
  font-size:8px;
  display:inline;
  position:absolute;
  left:1085px;
  background:#F3F3F4;
  top:80px;

/* \*/
  margin-left:-1px;
/* Hidden from IE-mac */

}

Would this technique be correct? what I have done I mean. I say it because, I dont see how saying “left 450 px ” can be right for me and right for someone else with a smaller screen.

I have modified the header like this, and it has drifted to the left! why would it if I am just telling it margin 0 auto?

#header {


    background: url("../jq185/css/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png") repeat-x scroll 50% 50% #2191C0;
    font-family: 'trebuchet ms',geneva,arial,tahoma,sans-serif;
    font-size: 10px;
    width: 930px; margin: 0 auto; 
    h2 {color:#ffffff;}



}
  • 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-14T09:36:33+00:00Added an answer on June 14, 2026 at 9:36 am

    Well, no. position:absolute; means it is absolutely positioned in a relatively positioned container. Take the following example:

    x { position: absolute; top: 0; left: 0; }
    

    This means it will be placed in the top left corner of it’s parent container, if that has position:relative;. However, if it does not, it will keep travelling up the DOM tree, untill it finds one that does. If noone does, it will be placed in the top left corner of the document (body).

    Read more on CSS positioning here:

    • https://developer.mozilla.org/en-US/docs/CSS/position
    • http://docs.webplatform.org/wiki/css/properties/position
    • http://www.quirksmode.org/css/position.html

    In your specific example, I think you are looking to simply center something. The best way to achieve that, is not with position: absolute;, but with wrapping your content in a container with a set width, and apply auto margins, like so:

    .wrap { width: 920px; margin: 0 auto; }
    

    This means it has a fixed width, and use the share the remaining space on both sides equally as margin.

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

Sidebar

Related Questions

Having used storyboards for a while now I have found them extremely useful however,
I used a very bad log template and has issued git push for that
I used to have a code that checks any previous element with a corresponding
I used to have an extension which made it so that when you hover
i used this code: List<string> lists=new List<string>(apple,orange,banana,apple,mang0,orange); string names; names=lists.Distinct() is that correct?
Used this tutorial I have installed jogl, jocl, gluegen, joal libs and added its
Used to develop Portlets and JPS's, so have a dilemma. task: display <h:dataTable> only
I used the ASP.NET (.NET4) default ASPNETDB.mdf database that gets created when using membership,
I used to export blender models to use them in with three.js. That was
I used to use XCode the develop my apps and using that; I could

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.