Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html> 
      <head> 
        <div id="leftnav" style="position:absolute; top:0px; left:0px; bottom:0px; width:150px;">
</div>
<div id="header" style="position:absolute; top:0px; left:150px; height:50px; right:0px;">
</div>
<div id="content" style="position:absolute; top:50px; left:150px; bottom:50px; right:0px;">
</div>
<div id="footer" style="position:absolute; height:50px; left:150px; bottom:0px; right:0px;">
</div>
        
      </head> 
      <body> 
        <div id="leftnav" style="background-color: #FF0000;position:absolute; top:0px; left:0px; bottom:0px; width:150px;"> </div> <div id="header" style="background-color: #00FF00;position:absolute; top:0px; left:150px; height:50px; right:0px;"> </div> <div id="content" style="background-color: #0000Fc;position:absolute; top:50px; left:150px; bottom:50px; right:0px;"> </div> <div id="footer" style="background-color: #FF00fF;position:absolute; height:50px; left:150px; bottom:0px; right:0px;"> </div>       </body> 
    </html> 
 
if (document.getElementById('hello')) {
  document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript';
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers