Re: *Solved* Why doesn't this page display anything in IE6?



Eureka!
The solution to the problem is that Internet explorer didn't like my
short tag for <script />, and instead requires that the end tag be
present with no content like so <script src="..."
type="text/javascript"></script>. Although less than ideal, it now
works in IE and still validates properly.

Just for reference:

<script src="scripts/application.js" type="text/javascript" /> breaks
IE, but is the proper way
<script src="scripts/application.js" type="text/javascript"></script>
Works, but well, it's a kludge

(Yet another reason why I don't like IE)
-Mark C. Roduner, CIO Fineline Industries

Rob Parsons wrote:
Hi Enigmatic Source,
You have dns errors for your site
http://www.dnsreport.com/tools/dnsreport.ch?domain=www.aboring.com

but I am not sure this is the root of the problem. My own experience is that
IE6 SP2 (for XP windows) is intollerant of orphaned tags but by your source
this does not seem the case. I see that you have a nested <li> mmm... maybe.
I can only suggest that you debug by removing selective elements from your
page and then try rendering in IE (both 6 versions).
One point of conjecture is why you choose FF and OP as your test browser
platforms. Together they only have around 14% of the browser market
(www.thecounter.com). It may be that the corporate policy of your intranet
is for these platforms and if this is your only audience then code for those
platforms. Just avoid document.all notation in your scripts and remove
server side styling then all browsers will be able to render your pages.
KISS works!

"EnigmaticSource" <mark.roduner@xxxxxxxxx> wrote in message
news:1140907954.175597.65980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm beginning a corporate intranet site, and I use Firefox / Opera as
my default development platforms, but when I tested the demo pages in
Internet Explorer, nothing at all renders.

Site URL: http://www.aboring.com:81/payroll/?module=piecework

Validates XHTML 1.0 / Transitional
Doc-type text/html
Works perfectly in Firefox, renders but scripts broken in Opera

(Oh, and please don't tease about the cruftyness, I've only spent about
25 minutes on it so far)

-Mark
CIO, Fineline Industries, Inc.


.



Relevant Pages

  • Re: Why people use this style of javascript declaration?
    ... The reason is historical. ... Netscape 2.x, and it did not support external .js files, only scripts ... Respectively tag was added to HTML specs as the one requiring ... the external .js file executed and inline content ignored. ...
    (comp.lang.javascript)
  • Re: Master Pages: Why is all of my content centered?
    ... labels I had CSS on weren't using height and width. ... hope Microsoft eventually changes the renders of labels to DIVs ... I did try removing everything from inside the body tag ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need Help with Registering Client Scripts
    ... So instead of calling RegisterClientScriptInclude ... I instead forced these scripts into the <head> tag ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Internet Explorer wont hide nested paragraphs
    ... This renders fine in Firefox ... not an invalid code issue. ... It's not "nested" and so the display property ... single end tag anywhere near them). ...
    (comp.infosystems.www.authoring.html)
  • Re: Accessing Python script with ColdFusion
    ... I've tried using a timeout of 1 and 3. ... I can run the scripts from the Linux ... >Have you made sure you specified a timeout in the CFEXECUTE tag? ... >Jay Dorsey ...
    (comp.lang.python)