JSFiddle - React, Tailwind, and code Playground

by jasongennaro

HTML

<div id="content">
    <div id="content-left">I want to put content in here<br/><br/><br/><br/><br/><br/>This is outside? why?</div>
    <div id="content-right">and more in here</div>
    Maybe other content here, but this should be below the 2 above divs in the rendered view.
    <br style="clear:both;" />
</div>
<!-- Basically, I want 2 coloumns, inside a div, one to the left and one to the right, I want the content div to be the background div -->

CSS

#content-left{
    width: 50%;
    border: 1px dotted #aaa;
    float: left;
}

#content-right{
    width: 49%;
    float: right;
    border: 1px dotted #aaa;
}

#content{
    background-color: #eee;
    width: 95%; /* Width of Main Content Div, % for Fluid*/
    height: auto;
    max-width: 1350px; /*Max width, To wide on big monitor*/
    margin: 0 auto;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}