title: Is there a way to make a div work like an iframe?
body: <p>So I am building a website for a guy and he wants to take a page that I already made that is basically an order calculator and make it available on every page of the site in a pop-up div element. So I put together a simple iFrame that would load the page into its own box and everything would work properly, but he doesn't like the way it looks, and I admit, iFrames look a bit sloppy if they don't take up the whole page and they cause centering issues.</p>
  
  <p>So I thought I would just put it into it's own div and just load the page via jQuery into the div, <strong>but the problem arises with the stylesheets</strong>. Both the location page and the loaded calculator page have essential CSS elements that they must use and they conflict with each other, so is there any way to make the css imports that are inside the div with the loaded page only apply to elements within that div without renaming everything?</p>
  
  <p>Thanks for your help.</p>
  
  <p>CODE:</p>
  
  <pre><code>function po()
  {
      $("#calculator").load("/calculator/");
      $("#calculator").fadeIn();
      $("#modalbackground").fadeIn();
      $("#closeCalc").fadeIn();
  }
  </code></pre>
  
  <p>Any other solutions would be gladly accepted!</p>