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

The Archive Base Latest Questions

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

After a long long while I had to do some frontend, and I have

  • 0

After a long long while I had to do some frontend, and I have a annoying issue to resolve.

So basically I have 1900×1200 Div wrapper and while the whole thing looks pretty and centered on huge monitors, when I open it on a small/resolution monitor it isn’t centered.

I would like the opening position to be in the middle of the whole thing regardless of my resolution.

Any ideas?

The whole thing is driving me nuts and I can’t seem to be able to wrap my head around it. 🙁

(and I’m sorry if I don’t make much sense, its 2:25 am here, I’m not a native speaker and my brain is fizzling out)

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

    You could center the div through absolute positioning.

    #DivWrapper {
        width: 1900px;
        height: 1200px;
        position: absolute;
        left: 50%;
        margin-left: -950px;
    }
    

    Example: http://jsfiddle.net/AXenC/

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

Sidebar

Related Questions

So basically I have this relatively long stored procedure. The basic execution flow is
I started using bazaar after a long camping in the svn field. I had
Long version... A co-worker asserted today after seeing my use of while (1) in
I had removed some files from my iOS project a while back and thought
It has been a long while since I have really worked with J2EE so
How long after a document is fed to the Google Search Appliance using a
Returning to WinForms in VS2008 after a long time.. Tinkering with a OOD problem
I am returning to C++ after a long absence and I am stumbling a
I'm currently re-engaging with Python after a long absence and loving it. However, I
Well, after a long time writing .net programs in C# I started to feel

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.