title: I have 2 pages with 2 buttons, each button loads content within a div
body: <p>I have a page called admin.php. It has 2 buttons on the left, one view records and another creates a record. When the buttons are clicked it loads up the content into a div on the right. It works OK with the view records button, but when I click the create record it loads up behind the view records content.</p>
  
  <p>A bit hard to describe so I have created two PhpFiddle pages to demonstrate.</p>
  
  <p>Here is the admin page:  <a href="http://phpfiddle.org/main/code/9vgr-dn34" rel="nofollow">http://phpfiddle.org/main/code/9vgr-dn34</a></p>
  
  <p>Here is the create record page:  <a href="http://phpfiddle.org/main/code/bvan-3wph" rel="nofollow">http://phpfiddle.org/main/code/bvan-3wph</a></p>