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>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  a#cover {width:500px; padding:10px; border:1px solid #000}
  #wrapper {
      display: table;
      
      width:100%;
      height:100px;
      background-color:Gray;
      border-spacing:10px;
      
  }
  #wrapper div {
      display: table-cell;
      height:100px;
      margin:0 15px
      
  }
  
  #one {
      width:100px;
      background-color:green;
      margin-left:0
  }
  #two {
      width:130px;
      background-color:blue
  }
  #three {
      background-color:red;
      margin-right:0;
      
  }
</style>
</head>
<body>
  <div id="cover">
    <div id="wrapper">
        <div id="one"></div>
        <div id="two"></div>
        <div id="three"></div>
    </div>
  </div>
</body>
</html>
 
if (document.getElementById('hello')) {
  document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript';
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers