Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8" />
  <title>Page name</title>
  <style>
    div {
      background-color:hotpink;
      height:100px;
      }
    
    p {
      background-color:orange;
      }
    
    .header {
      background-color: green;
      }
    
    .content {
      background-color: red;
      }
    
    .ads {
      background-color: blue;
      }
    
    .footer {
      background-color: yellow;
      }
    
    .header,
    .content,
    .ads {
      margin-bottom:20px; 
    }
    
    .content {
      width: 70.72%; /* 680px */
      float:left;
      padding: 2.08%;
      }
    .ads {
      width: 22.88%;
      float:right;
      }
    
    .footer {
      clear:both;
      }
  </style>
  </head>
  <body>
    <div class="header">
      <p>Header</p>
    </div>
    <div class="content">
      <p>Content</p>
    </div>
    <div class="ads">
      <p>Ads</p>
    </div>
    <div class="footer">
      <p>Footer</p>
    </div>
  </body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers