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>
<section>
  <article><p>I fill out all the available space!</p></article>
  <aside><p>I'm 50px width!</p></aside>
</section>
  
</body>
</html>
 
*{margin:0;} /* globReset */
/* NB: Use padding for inner elements, don't mess with basic containers! i.e: */
p{padding:15px;}
section {
  background: #eee;
  display: table;
  table-layout: fixed;
  width: 100%;
}
article, aside{
  display: table-cell;
}
article {
  background: #cee;
}
aside {
  width: 150px;
  background: #ece;
}
Output

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

Dismiss x
public
Bin info
roXonpro
0viewers