JSFiddle - React, Tailwind, and code Playground
HTML
<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> <!-- This is to push the footer to the bottom
</div> <!-- main-block -->
<div class="footer">
Footer
</div>
CSS
div { border: 1px solid red; }
div#article-and-comments {
width: 400px;
float: left;
}
div.advertising {
margin-left: 410px;
background-color: blue;
width: 180px;
height: 300px; /* simulate content */
}
div.push { clear: both; }
div.footer { background-color: yellow; }