Page 1 of 1

Page does not render in IE - At all.

Posted: Mon Jun 06, 2005 1:08 pm
by Black Unicorn
Hi folks,

I have a problem that has driven me up the wall.
I have a little login page http://www.eternalnexus.net/home.php?login=AUTO that renders OK in firefox, in validating XHTML strict.

However, in IE nothing shows. The source is there, it's all good, except it's not.

Any hints greatly appreciated, I just hate the thought of going back to quirks mode.

Here is the source of the page, if it helps:

Code: Select all

<!DOCTYPE html
PUBLIC &quote;-//W3C//DTD XHTML 1.0 Strict//EN&quote; 
&quote;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quote;>
<html>
<head>
<meta http-equiv=&quote;Content-Type&quote; content=&quote;text/html; charset=iso-8859-1&quote; />
<title>Login</title>
<script type=&quote;text/javascript&quote; src=&quote;js/common.js&quote;></script>
<!-- (c)2004 - 2005 &copy;Eternal Nexus . Net. All rights reserved. -->
<script type=&quote;text/javascript&quote; src=&quote;js/md5.js&quote; /><link rel=&quote;stylesheet&quote; type=&quote;text/css&quote; href=&quote;./css/darkshadow.css&quote; />
</head>

<body>
<p>Login</p>
<form action=&quote;/home.php&quote; method=&quote;post&quote; enctype=&quote;application/x-www-form-urlencoded&quote; onsubmit=&quote;return iVal()&quote;>
<pre class=&quote;loginBox&quote;>Username: <input type=&quote;text&quote; class=&quote;formsShort&quote; size=&quote;25&quote; name=&quote;username&quote; />
Password: <input type=&quote;password&quote; class=&quote;formsShort&quote; size=&quote;25&quote; name=&quote;password&quote; class=&quote;formsShort&quote; />
<input type=&quote;submit&quote; name=&quote;login&quote; value=&quote;Login&quote; class=&quote;buttons&quote; /><input type=&quote;hidden&quote; name=&quote;challenge&quote; value=&quote;Vvxp_LtlkaUPeoJWEKvNomcMj&#1111;]AQ_ag&quote; /><input type=&quote;hidden&quote; name=&quote;PHPSESSID&quote; id=&quote;PHPSESSID&quote; value=&quote;&quote; /></pre>
</form>
<div id=&quote;footer&quote;></div>
<p>
<a href=&quote;http://validator.w3.org/check?uri=referer&quote;><img src=&quote;http://www.w3.org/Icons/valid-xhtml10&quote; alt=&quote;Valid XHTML 1.0!&quote; height=&quote;31&quote; width=&quote;88&quote; style=&quote;border:none&quote; /></a></p>
</body>
</html>
Best wishes,
H

Posted: Mon Jun 06, 2005 1:18 pm
by malcolmboston
i took out the javascript and it worked, namely the <script src line for md5, look there for your error, im thinking possibly incorrect filepath, as that is the reason it happened on mine

also, just a quick note, you defined a input name twice, this was also causing errors although not critical

Posted: Mon Jun 06, 2005 1:19 pm
by artexercise
make sure this file is correctly finding the javascript files. And if it is, check those files for any errors. The form appears in IE if you remove the references to the javascript.

Posted: Mon Jun 06, 2005 5:44 pm
by Black Unicorn
Thanks a million for putting me on the correct track, I stared myself blind there.

It was indeed the second javascript with a badly escaped script tag

Code: Select all

<script type=&quote;text/javascript&quote; src=&quote;js/md5.js&quote; />
Rather than

Code: Select all

<script type=&quote;text/javascript&quote; src=&quote;js/md5.js&quote;>
Thanx again.
H