JSFiddle - React, Tailwind, and code Playground
by Gabriele Petrioli
HTML
<body>
<div class="container">
<div class="header">Header menus etc etc</div>
<div id="main-block">
<div id="article-and-comments">
<div class="article-detail">The Article </div>
<div class="comment">1° Comment</div>
<div class="comment">1° Comment</div>
<div class="comment">1° Comment</div>
</div>
<div class="advertising">
Right Column with Ads
</div>
<div class="push"></div>
</div>
<div class="footer">
Footer
</div>
CSS
#main-block{
width:500px;
overflow:auto;
}
#article-and-comments{
width:400px;
float:left;
background-color:#eee;
}
.advertising{
width:100px;
float:right;
background-color:#ccc;
}
.push{clear:both}