i am working in a apache web application. i completed a project with this and its working fine in IE8. Now i tried this same in firefox ,opera and chrome it results the source code.
when i typed http://localhost/, it results,
<html>
<head>
<title>X2A.biz</title>
<script type="text/javascript">
window.location.href = "../pages/X2AFrame.htm"
</script>
</head>
<body>
</body>
</html>
i tried with html transitional doc type also. In X2AFrame.htm, i have frameset.
can any one help in this? pls…
That’s because you didn’t configure your web server correctly – it serves this page with MIME type
text/plaininstead oftext/html. IE does content sniffing and detects that you gave it an HTML page, other browsers don’t (the standard-compliant approach). So you need to fix the configuration of your web server, in Apache you can use the AddType directive: