Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<div class="container">
  <div class="sidebar">
    sidebar
  </div>
  <div class="main">
    <p>
      Here is a common layout comprised of a 
      sidebar floated left and a main
      content area consuming the remaining
      space to the right.
    </p>
    <p>
      Next are some floats that will need to
      be cleared so that content following
      them renders correctly.
    </p>
    <div class="thumb"></div>
    <div class="thumb"></div>
    <div class="thumb"></div>
    <div class="thumb"></div>
    <div class="clear">clear: both</div>
    <p>
      Uhoh. The cleared element got pushed
      after the sidebar. That's not what we
      wanted.
    </p>
  </div>
</div>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers