Crash1hd
05-11-2003, 09:04 AM
ok I have the following code and for what ever reason netscape does not do what I have marked in red
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="28%"> </td>
<td width="42%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50%"><p align=right>Username: </p></td>
<td width="50%"><input type="text" name="username" value="<% = Server.HTMLEncode(username) %>" size="20" /><% If submitnumber > 1 AND username = "" Then Response.Write("<span style=""color:#cc0000""> * Required</span>") %></td>
</tr>
<tr>
<td width="50%"><p align=right>Password: </p></td>
<td width="50%"><input type="password" name="pass" value="<% = Server.HTMLEncode(pass) %>" size="20" /><% If submitnumber > 1 AND pass = "" Then Response.Write("<span style=""color:#cc0000""> * Required</span>") %></td>
</tr>
<tr>
<td width="100%" colspan="2"><P Align=center><input type="checkbox" name="rememberme" value="1" /> Remember my username and password</p></td>
</tr>
</table>
</td>
<td width="34%"> </td>
</tr>
<tr>
<td width="28%"> </td>
<td width="42%"><P Align=Center><input type="hidden" name="submitnumber" value="<% = submitnumber %>" /><br /><input type="submit" value="Submit" /><br /><br /><a href="login/register.asp">New Members Register Here</a></p></td>
<td width="34%"> </td>
</tr>
</table>
For what ever reason if you run that in netscape it doesnt center the info that I want centerd for me to make it work I have to use the old <center></center> tags which I dont want to have to do??? I have also tried useing a class=center in a css file that looks like this
.center {text-align:center}
but that also doesnt work the odd part is the p align=right in the blue works fine but if I was to replace the p align=center to p align=right it still doesnt work there is something I am missing here but I dont know what>??
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="28%"> </td>
<td width="42%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50%"><p align=right>Username: </p></td>
<td width="50%"><input type="text" name="username" value="<% = Server.HTMLEncode(username) %>" size="20" /><% If submitnumber > 1 AND username = "" Then Response.Write("<span style=""color:#cc0000""> * Required</span>") %></td>
</tr>
<tr>
<td width="50%"><p align=right>Password: </p></td>
<td width="50%"><input type="password" name="pass" value="<% = Server.HTMLEncode(pass) %>" size="20" /><% If submitnumber > 1 AND pass = "" Then Response.Write("<span style=""color:#cc0000""> * Required</span>") %></td>
</tr>
<tr>
<td width="100%" colspan="2"><P Align=center><input type="checkbox" name="rememberme" value="1" /> Remember my username and password</p></td>
</tr>
</table>
</td>
<td width="34%"> </td>
</tr>
<tr>
<td width="28%"> </td>
<td width="42%"><P Align=Center><input type="hidden" name="submitnumber" value="<% = submitnumber %>" /><br /><input type="submit" value="Submit" /><br /><br /><a href="login/register.asp">New Members Register Here</a></p></td>
<td width="34%"> </td>
</tr>
</table>
For what ever reason if you run that in netscape it doesnt center the info that I want centerd for me to make it work I have to use the old <center></center> tags which I dont want to have to do??? I have also tried useing a class=center in a css file that looks like this
.center {text-align:center}
but that also doesnt work the odd part is the p align=right in the blue works fine but if I was to replace the p align=center to p align=right it still doesnt work there is something I am missing here but I dont know what>??