Salve a tutti,
ho questa paginetta per il login degli utenti che pero', se aperta con internet explorer, mi mostra i le input fuori dal riquadro grigio, mentre con ff e' tutto ok... quale potrebbe essere il problema?
pagina.htm:
default.css:Codice PHP:
<!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" xml:lang="it" lang="it" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/default.css"></link>
</head>
<body>
<table cellpadding="0" align="center" width="100%" cellspacing="0" border="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" align="center">
</p>
<form action="index.php" method="post">
<tr>
<td class="body" style="padding-bottom: 10px;" >[b]Benvenuto[/b]
</td>
</tr>
<tr>
<td class="tabForm" align="center">
<table style='margin-bottom: 5px;' align='center' border='0' cellpadding='0' cellspacing='0' bgcolor='#EEEEEE'>
<input type="hidden" name="action" value="Authenticate">
<tr>
<td align='left' valign='top'>[img]img/corner_tl.gif[/img]</td>
<td align='right' valign='top'>[img]img/corner_tr.gif[/img]</td>
</tr>
<tr>
<td colspan="2" style="padding: 6px 6pt; text-align: center;">Inserire username e password.</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td style="padding: 6px 6pt; text-align: left;">Username</td>
<td style="padding: 6px 6pt; text-align: left;"><input type="text" size='20' id="txtusername" name="txtusername"/></td>
</tr>
<tr>
<td style="padding: 6px 6pt; text-align: left;">Password</td>
<td style="padding: 6px 6pt; text-align: left;"><input type="password" size='20' id="txtpassword" name="txtpassword" value=""/></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td style="padding: 6px 6pt; text-align: center;" colspan="2"><div align="center">
<input name="action" type="hidden" id="action" value="Authenticate" />
<input title="Login [Alt+L]" accessKey="Login [Alt+L]" class="button" type="submit" id="login_button" name="Login" value=" Login ">
</div>
</td>
</tr>
<tr>
<td align="left" valign="bottom">[img]img/corner_bl.gif[/img]</td>
<td align="right" valign="bottom">[img]img/corner_br.gif[/img]</td>
</tr>
</table>
</tr>
</form>
</table>
</body>
</html>
grazie a tuttiCodice PHP:
html,body{
margin: 0;
padding:0;
}
html,body,td,input,textarea,select {font-family:arial,sans-serif; height: 100%}
body {font-size:83%}
table {font-size:inherit}
input,textarea,select {font-size:83%}
.header{
background-color: #EEEEEE;
padding: 0em 0em 0em 0em;
}
.main{
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -2em; /* the bottom margin is the negative value of the footer's height */
}
.content{
padding: 1em 1em;
background-color: #FFFFFF;
}
.push {
clear:both;
height: 2em; /* .push must be the same height as .footer */
background-color: #FFFFFF;
}
.footer{
height: 2em; /* .push must be the same height as .footer */
background-color: #FFFFFF;
}
.subhead{
background:url(img/header_bg.jpg) repeat-x;height:50px;color:#FFFFFF;
}