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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:10:25+00:00 2026-06-15T02:10:25+00:00

Sorry but having difficulty in creating a group of div as attached pic..please help

  • 0

Sorry but having difficulty in creating a group of div as attached pic..please help

https://i.stack.imgur.com/9ClxP.jpg

my biggest problem is having to get the divs arranged next to each other inside of parent divs. Infact to go to a next level, if there is a 5th div of 200px then I want it to automatically come to the second line.
I understand I need something to do with CSS, just that am not so well versed with it.

.div_main_left {
    width: 800px;
        border: 1px solid;
        height: 600px;
        float: left;
        display: table-cell;
}

.div_sec_left {
    width: 200px;
        border: 1px solid;
        height: 75px;
        display: inline;
        float: left;
}

.div_right {
    width: 250px;
        border: 1px solid;
        height: 500px;
        float: right;
        display: table-cell;
}
  • 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-15T02:10:26+00:00Added an answer on June 15, 2026 at 2:10 am

    You can do it like this:

    HTML

    <div id="mainwrapper">
     <div id="leftwrapper">
         <div class="topbox"></div>
         <div class="topbox"></div>
         <div class="topbox"></div>
         <div class="topbox"></div>
         <div id="maincontent"></div>
     </div>
     <div id="rightwrapper">
         <div id="topsidebar"></div>
         <div id="bottomsidebar"></div>
     </div>     
    </div>
    

    CSS

    #mainwrapper{
     width:1050px;    
    }
    
    #rightwrapper{
     width:250px;
     float:left;
    }
    
    #leftwrapper{
     width:800px;
     float:left;
    }
    
    .topbox{
     float: left;
     width:196px;
     margin-right:4px;
     height:75px;
     background-color:orange;    
    }
    
    #maincontent{
     width:100%;
     height:675px;
     background-color:blue;
     clear:both;    
    }
    
    #topsidebar
    {
     width:100%;
     height:600px;
     background-color:green;    
    }
    
    #bottomsidebar{
     width:100%;
     height:150px;    
     background-color:red;
    }
    

    Here is the jsfiddle

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

Sidebar

Related Questions

Im sorry, i feel kind of dumb, but im having trouble implementing the following
Sorry for my inpatience but after weeks staying up late and just having put
Sorry, I know this is probably a duplicate but having searched for 'python regular
Sorry if this seems like a stupid question but im actually having a hard
Sorry if this is obvious to everyone else but I am having a minor
Sorry I'm only self taught but having trouble with something. I currently have a
Sorry for the silly question, but I am having a bit of trouble sending
This is likely something easy to accomplish, but I'm having difficulty even articulating clearly,
im pretty new to xcode, so sorry if these are basics but im having
This is probably an extremely basic question but I'm having difficulty finding an answer.

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.