title: Hide div withing iframe
body: <p>I have an iframe and I'd like to hide a div whithin it, so bascily people can't for example sign out in the iframe.</p>
  
  <p>What I did was :</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function changeCSS(){
  frame = document.getElementById("myIframe");
  frame.document.getElementById("guser").style.display='none';
  }
  &lt;/script&gt;
  
  &lt;iframe onload="javascript:changeCSS()" id="myIframe" src="{$docUrl}" width="800px" height="600px"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>But I can't get it to hide the div "guser".</p>
  
  <p>If anyone could help I'd be very much appreciated.</p>