Problemer med IE7 og FORM
Hej,Jeg har lavet følgende form, som kører upåklageligt i Firefox og Safari på mac. Samt Firefox på PC. Men jeg kan ikke få Internet Explorer 7 til at virke.
Det er som om "Login" knappen ikke aktiveres i IE7.
Nogen der kan hjælpe mig med en løsning.
Se kildekoden her:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>title</title>
<link rel="stylesheet" type="text/css" href="../css/all.css" />
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="../css/lt7.css" media="screen"/><![endif]-->
</head>
<form id="pageform" action="test2.html" method="post">
<div style="display:none"><input type="hidden" name="_submit_check" id="_submit_check" value="1" /></div>
<!-- wrapper-inner -->
<div id="wrapper" class="inner">
<!-- header -->
<div id="header">
<ul class="service-links">
<li>
</li>
<!-- MENU --> <li></li>
</form></ul><!-- logo -->
<h1 class="logo"><a href="../index.php?logo=1">Logo</a></h1>
</div>
<!-- main -->
<div id="main">
<!-- content -->
<div id="content">
<!-- gallery -->
<div id="gallery">
<div class="gallery-holder">
<ul>
<li>
<div class="holder">
<div class="frame">
<!-- <img src="images/img4.jpg" width="554" height="226" alt="" /> -->
<div class="info">
<h2>Login</h2>
<input type="hidden" name="action" id="action" value="login" >
<table cellspacing="2" cellpadding="0" border="0">
<tr>
<td align="right" style="font-weight:bold">Partner-ID: </td>
<td align="left">
<input name="partnerid" id="partnerid" type="text" value="<Type ID>" maxlength="25" style="width:120px; background-color:#FFFFFF; color:#000000; border:0px" onfocus="if(this.value == '<Type ID>'){ this.value = ''; } else { this.select(); }" onblur="if(this.value == '') this.value = '<Type ID>';" ></td>
</tr>
<tr>
<td colspan="2" style="height:20px"></td>
</tr>
<tr>
<td align="right" style="font-weight:bold">Login: </td>
<td><input name="login" id="login" type="text" value="<Type Login>" maxlength="25" style="width:120px; background-color:#FFFFFF; color:#000000; border:0px"onfocus="if(this.value == '<Type Login>'){ this.value = ''; } else { this.select(); }" onblur="if(this.value == '') this.value = '<Type Login>';" ></td>
</tr>
<tr>
<td align="right" style="font-weight:bold">Password: </td>
<td><input name="password" id="password" type="password" value="<Type Password>" maxlength="25" style="width:120px; background-color:#FFFFFF; color:#000000; border:0px" onfocus="if(this.value == '<Type Password>'){ this.value = ''; }
else
{this.select(); }" onblur="if(this.value == '') this.value = '<Type Password>';"></td>
</tr>
</table>
<div align="left""><input type="submit" name="Login" value="Login" ></div>
<script type="text/javascript">document.getElementById('partnerid').focus();</script>
</td>
</tr>
</table>
</body>
</html>
