title: Problem loading pages in an iframe in Firefox
body: <p>I have an aspx page that has an iFrame in it, I set the src attribute of this iFrame in the page load event.</p>
  
  <p>The page that gets loaded into the iFrame has its own references to its own stylesheets and javascript files, but when the page loads, it tries to locate these files with a path from the parent page.</p>
  
  <p>Example structure:</p>
  
  <p>/application/example/parentpage.aspx</p>
  
  <p>/application/iframepages/iframepage.html</p>
  
  <p>/application/iframepages/css/iframepagecss.css</p>
  
  <p>/application/iframepages/scripts/iframepagescript.js</p>
  
  <p>With the iframepage.html containing the following lines:</p>
  
  <p>link rel="stylesheet" href="css/iframepage.css" type="text/css"</p>
  
  <p>script type="text/javascript" language="javascript" src="scripts/iframepagescript.js"</p>
  
  <p>The problem seems to be when iframepage.html loads in the iframe on parentpage.aspx, it tries to load the css file from the path application/example/css/iframepagecss.css and likewise for the javascript it tries to load it from application/example/scripts/iframepagescript.js.</p>
  
  <p>This only happens in Firefox, it works fine in IE, Chrome and Safari. Thoughts?</p>
  
  <p>Thanks in advance.</p>