Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div id = "wrapper">
  <div class = "theLeft">
  </div>
  <div class = "theMiddle">
    <button type = "button" class = "myBtn">
      Ok 
    </button>
  </div>
  <div class = "theRight">
  </div>
</div>
</body>
</html>
 
#wrapper {
  width : 100%;
  height : 50px;
  background-color : red;
  clear: both;
}
#wrapper:after {
  clear : both;
  display: block;
}
div.theRight{
  float: left;
  width : 40%;
  background-color: blue;
  height: inherit; 
 
}
div.theMiddle{
  width : 20%;
  float: left;
  height: inherit;
  background-color : gray;  
  text-align: center;
}
div.theLeft{
  float: left;
  width : 40%;
  height : inherit;
  background-color : yellow;   
}
button.myBtn {
  width : 40px;
  height: 25px;
  margin: 12.5px;
  
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers