Author Topic: Footprints is just a big sad blank gray page ...  (Read 2495 times)

PreventRage

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Footprints is just a big sad blank gray page ...
« on: November 15, 2014, 03:34:07 AM »
Excited new customer. Dreams of being actually logical and rational about how many hours of computer usage = one run of the dryer. Real data.

And yet when I open up browser (IE11) and open http://TED6000 I see nothing but a giant blank of gray. Interestingly it did find the ECC. Ping works. And the address in my browser neatly changed to http://TED6000/Footprints.html, and the source code of that page looks correct. In an inexplicably intuitive moment I looked at the IP address that showed up using ping and tried http://192.168.0.133/Footprints.html instead. And ... it worked! Moved to a static IP address with a nice tidy name on my DNS server. Same problem. Using the name I saw a blank gray screen. Address worked.

Tried Chrome. Felt guilty. Made all of the money used to purchase TED working at Microsoft. Sorta makes me a fan. Chrome works on _both_ the IP address and DNS name. Made me suspicious.

So I went back to IE and hit F12. The default document mode on the page is 7. 7! That's like a thousand years ago.

Changed it 8, 9, 10, 11, Edge. All worked.

Carefully read the console output.

Hmm. It says this ...

HTML1202: http://powermonitor/Footprints.html is running in Compatibility View because 'Display intranet sites in Compatibility View' is checked.

Fascinating. So the page is making no declaration that it can cope with modern standards. And the default mode of IE is to treat intranet sites as nasty old-fashioned wanting everything ancient.

I tried unchecking "Display intranet sites in Compatibility Mode" and everything worked.

And yet wouldn't it be better if the page properly declared itself happy with standards? I have no idea how one does that.  But then I glanced at the source code of the page and saw this ...

<!--    <meta http-equiv="X-UA-Compatible" content="IE=8"> -->

Hmm. Commented out. Boy, that sure looks like it was trying to do exactly what I'm looking for.

Actually (I'm now way past what I actually know so could well be completely stupid) I suspect that line wasn't quite right. You don't want to be saying you need the browser to down-shift to IE8. You want to be saying "I'm shiny and new and good with standards". Which I think (I just went and read a web page, so it must be right :) ) would be ...

<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

(also aren't you missing the / before the > ?)

I am not Fiddler competent so I'm not gonna try it. But it seems like the solution is right ... there ...