Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  #nav {width: 200px; border: 1px solid black; height: 500px;}
  .content {display: none; width: 510px; position: absolute; left: 209px; top:8px;height: 500px;}
  .content-l {width: 249px; height: 500px; float: left;border: 1px solid black;}
</style>
</head>
<body>
  <div id="nav">
    <h3>First Item</h3>
      <div class="content">
          <div class="content-l">
            First left content
          </div>
      </div>
    <h3>Second Item</h3>
      <div class="content">
           <div class="content-l">
             Second left content
          </div>
      </div>
    <h3>Third Item</h3>
      <div class="content">
           <div class="content-l">
             Third left content
          </div>
      </div>
    <h3>Fourth Item</h3>
      <div class="content">
           <div class="content-l">
             Fourth left content
          </div>
      </div>
  </div>
</body>
</html>
Output 300px

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers