Search code examples
webframeset

why does my website appear inside a <frameset>?


I have a website (just for my own references, nothing interesting for the public.)

When I load my page (Test Page) inside IE9 and view the source of the page - I can see the HTML as expected.

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>Test Page</title>
  </head>
<body>
  <div id="body">
    Simple test page, with an image. <br />
    <img src="http://www.w3.org/2008/site/images/logo-w3c-mobile-lg" alt="WC3 logo" />
  </div>
</body>
</html>

But when I look at the developers toolbar (by pressing f12) the HTML appears in a <framset> tag.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>  
        <title>Marrowbrook.com </title>  
    </head>
    <frameset rows="100%,*" border="0"> 
       <frame src="http://217.118.128.188/wotney//TestFiles/testpage.htm" frameborder="0" />  
       <frame frameborder="0" noresize />
     </frameset>
<!-- pageok -->
<!-- 02 -->
<!-- ->
</html>

Using Chrome, if I right click and View Source, I see the above <frameset> code, but I can also right click and select View Frame Source where I can see the HTML as expected.

Can anyone tell me why I'm seeing this ?

Thanks.


Solution

  • This could happen because your host name was bought with one provider, but you are hosting it on another - and you got a frame based redirect setup.