Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<doctype>
<html>
    <head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
        <title>This is my page</title>
    </head>
    <body style="padding:0px;margin:0px">
      <div id="root" style="background-color:#dddddd;width:100px;min-height:100px;height:100%;position:relative">
          <div id="graph" style="background-color:#00ff00;width:200px;height:20%;position:absolute;bottom:0px">
                This is the DW box
            </div>
        </div>
        <script type="text/javascript">
            $(window).resize(function(){
                $('#root').width($(window).width());
              // $('#root').innerHeight($(window).height());
            });
        </script>
    </body>
</html>
Output

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

Dismiss x
public
Bin info
venkateshwarpro
0viewers