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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:09:38+00:00 2026-06-04T19:09:38+00:00

When i change the css in .container from width:800px to width:1900px all the elements

  • 0

When i change the css in “.container” from “width:800px” to “width:1900px” all the elements go out of whack. and the orange box keeps leaning towards the left side instead of being centered. anyone know why this is happening? my friend said it might have something to do with overflow, but he wasn’t sure.

Picture1: width:1900px

Picture 2:width 800px
HTML:

        <div id="orangeBox">

            <img src="images/logo.png" alt="Dash Logo" id="logo" />

            <div id="snappyText">
                <p>Ever think,"Where are the most mediocre places to eat around here? I want me some of that."</p>
            </div>  

            <div id="response">
                <p>Yeah, neither do we.</p>
            </div>

            <img src="images/whiteLine.png" alt="White Line" id="whiteLine" />

            <img src="images/iphone.png" alt="iPhone" id="iphone" />

            <img src="images/videoScreenshot.png" alt="Video Screenshot" id="videoScreenshot" />

            <img src="images/appStoreWhite.png" alt="App Store" id="appStoreWhite" />

            <div id="explanatoryText">
                <p>Dash is the quickest way to find good places to eat. In a world with too many choices and too much information, Dash clears the clutter and offers only the best in your area.</p> 
            </div>

            <ul id="menu">
                <li><a href="http://boxoutdev.com/">Blog</a></li>
                <li><a href="about.html">About</a></li>
                <li><a href="contact.html">Contact</a></li>
            </ul>

            <a href="http://twitter.com/#!/thedashapp"><img src="images/twitterGray.png" alt="twitter" id="twitterGray" /></a>

            <a href="http://www.facebook.com/"><img src="images/facebookGray.png" alt="facebook" id="facebookGray" /></a>

        </div><!--end orangebox-->
    </div><!--end container-->

CSS:

body{
    background: url(images/grayBackground.png);
}

/*orangeBox*/

#orangeBox{
    background-image:url(images/orangeBackground.png);
    background-repeat:no-repeat;
    position:relative;
}




.container{
    width:800px;
    margin:0 auto;
    position:relative;
}

width:1900px

width:800px

  • 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-04T19:09:40+00:00Added an answer on June 4, 2026 at 7:09 pm

    why dont you change your css to this

    min-width:800px;
        width:auto;
    

    try if it works.

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

Sidebar

Related Questions

I currently have this solution to change the css elements when the page reaches
I want to change the width of elements rendered using following code. I have
I want to change css class of an element on certain event in jquery.
How can I change CSS display none or block property using jQuery?
With the reference to this question:- JavaScript -Change CSS color for 5 seconds Working
here is the sample: http://jsfiddle.net/Zg55k/ How can I change css background image and color
I cannot change the css theme of my Drupal View. This is a screenshots
I need to know how to change the css class on a tag on
I want to add or subtract the value of 'top' in this css change.
Is it in any way possible, to change a css class model using JavaScript?

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.