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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:02:47+00:00 2026-06-12T14:02:47+00:00

So i got a Div that its width is set on 100% width so

  • 0

So i got a Div that its width is set on 100% width so that means it can be every size. how ever that div has the value ” min-width:950px ” so its width size cant go under 950.

inside that div i have 2 lines , every line contain 4 div – with specific value of width

now whats happen is when someone with low resolution enter my site he can see the 4 divs getting together just fine :

enter image description here

but when someone with hugh resolution enter my site its like this:

enter image description here

what im looking to do is when someone with high resolution enter my site the 4 divs will take same spaces from each other , so it will be look like that:

enter image description here

how can i do that? thanks in advance!

  • 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-12T14:02:48+00:00Added an answer on June 12, 2026 at 2:02 pm

    CSS Styling

    #container {
      text-align: justify;
      min-width: 950px;
      border: solid 1px Black; // Change this
    }
    
    #container div {
      width: 100px; //Change this
      display: inline-block;
      background: red; // Change this
    }
    
    #container:after {
      width: 100%;
      display: inline-block;
    }
    

    HTML Elements

    <div id="container">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
    </div>
    

    Codepen (Sandbox): http://codepen.io/anon/pen/HdtiC

    Original Article: http://css-tricks.com/equidistant-objects-with-css/

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

Sidebar

Related Questions

Let's say I've got a div that has a width of 50% of the
Got a Div being refreshed every 5 seconds. The div has scrolling set to
I've got three columns inside of a div that is the full page width.
I've got a DIV #alerts_wrapper on my page that is being refreshed every 5
I've got a CSS conflict that's preventing me to set the width of a
Hi I've got a DIV that holds a sprite that has around 40 emoticons
I've got a div that is hidden on page load and stretches to 100%
Ive got a div that i want to slide out on click using .show(slide,
I've got a div that I am appending to the page dynamically on click
I've got a div that looks like this: <div id=exampleDiv class=class1 class2 title=example title></div>

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.