Re: *Solved* Why doesn't this page display anything in IE6?
- From: "EnigmaticSource" <mark.roduner@xxxxxxxxx>
- Date: 26 Feb 2006 14:23:45 -0800
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.
.
- References:
- Why doesn't this page display anything in IE6?
- From: EnigmaticSource
- Re: Why doesn't this page display anything in IE6?
- From: Rob Parsons
- Why doesn't this page display anything in IE6?
- Prev by Date: Re: "Favorites" sort order changes
- Next by Date: Re: Jar executable files open in Winzip or save as zip not jar
- Previous by thread: Re: Why doesn't this page display anything in IE6?
- Next by thread: Re: IE7 Beta
- Index(es):
Relevant Pages
|
|