Two div next to each other to contain tables

I need two div side by side

Each div should be able to contain several tables. The div should have equal width. The height will vary according to the number of tables the div has.

The tables in the div should be beneath each other

See attached for an example

Any help is greatly appreciated
Capture.PNG
Errol FarroAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Russ SuterSenior Software DeveloperCommented:
Dont' reinvent the wheel. Use Bootstrap which handles this sort of layout very nicely.

http://getbootstrap.com/
Errol FarroAuthor Commented:
Must be CSS - bootstraps is not an option for now
Julian HansenCommented:
Bootstrap is css.

However if you want to roll your own .... then
CSS
.row {
  margin-right: -15px;
  margin-left: -15px;
}
.col-6-md {
  width: 50%;
  float: left;
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
}

Open in new window

HTML
<div class="col-6-md">
 ... tables here
</div>
<div class="col-6-md">
 and here
</div>

Open in new window

Sample of it working together here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.