Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div class="wrap">
    <div class="lft">
      left
    </div>
    <div class="rht">
      right
    </div>
    <div class="fix">
      first line of text
      <div style="clear: both"></div>
      second line of text
    </div>
  </div>
</body>
</html>
 
.wrap{
  overflow: hidden;
  height: 100px;
}
.lft, .rht {
  background: #c00;
  width: 100px;
  height: 100px;
}
.lft {
  float: left;
}
.rht {
  float: right;
}
.fix {
  background: #0cc;
  height: 100px;
  margin: 0 100px;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers