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;
}
article {
  margin-left: 150px; /* you guess right! */
  background: #cee;
}
aside {
  width: 150px; /* ! */
  position:absolute;
  left:0;
  top:0;
  background: #ece;
}
Output

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

Dismiss x
public
Bin info
roXonpro
0viewers