Link to home
Start Free TrialLog in
Avatar of FrankMcLeod
FrankMcLeod

asked on

HTML pages are blank when run in IE7 from address line

I have run across some  very wierd HTML behavior.  I am running IE7 on Vista Ultimate, upgraded from Vista Home Premium.  When I put in the localhost address for an html page, I get no error message ... the progress bar at the bottom acts as if a page is loading ... but I get a blank page.  If I look at the source code for the page, it is a blank document ... with this code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

If I navigate to the folder in Windows Explorer where the html file is located and double click it, IE opens it and renders it perfectly, as C:\inetpub\wwwroot\test.html.  If I put the address in IE directly ... http://localhost/test.html I get the blank described above.  I can make asp and php pages run with that local host referenct ... or with http://192/168.0.102/test.html.  I know the address is not the problem.  Can anyone shed any light?
Avatar of meverest
meverest
Flag of Australia image

Hi,

can you paste the entire content of test.html here?
Avatar of FrankMcLeod
FrankMcLeod

ASKER

Thanks. I can, but I do not believe it is a content issue.  No HTML is working.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
</head>
this is html text!
</html>

I put in the doc type and the content-type after based on the blank page content I was seeing in the source.  I have also tried it with plain html  as ...

<html>
<body>
this is html text!
</body>
</text>

Pretty plain, huh?  When I put the address in IE7 (or Firefox) the tab header and the address bar shows me the address and the name of the file, but the page is blank.
Thanks for trying!  I think I have found it ... will not know til I get back to my office and try it ... but http://support.microsoft.com/default.aspx/kb/930901/en-us 
addresses the exact issue ...
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial