Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//fb.me/react-with-addons-0.9.0.js"></script>
<meta charset=utf-8 />
<title>JS Bin</title>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  body { width: 1000px; background-color:#ff9; height : 1000px; }
  #header { position:scroll; background-color: #aff }
  #hello {padding-top: 50px; }
</style>
</head>
<body>
  <div id="header">
    This is the header and if it is to long it will not scroll properly. sdf sdf fd fd fd fd df df df fd df df fd fd 
  </div>
  <p id="hello">Hello World</p>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers