L
Lakshmi Narayanan
Hi experts,
My problem is, for password <input name="password"
type="password"> element the size given is 20. For another
one <input name="username"> is also 20. But in browser the
size differs for Charset="UTF-8" only. How to make equal
in display?
the sample is here:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%response.Charset="UTF-8"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<form name="test">
<table width="50%" align="center">
<tr bgcolor="#FEFFF2">
<td colspan="3" class="maintextbold"><div
align="center"><strong>Login Test</strong></div></td>
</tr>
<tr bgcolor="#FEFFF2">
<td width="35%" class="maintextbold"><div
align="right">User Name</div></td>
<td width="4%"> </td>
<td width="61%"><input name="username" type="text"
size="20" maxlength="20" autocomplete="off"></td>
</tr>
<tr bgcolor="#FEFFF2">
<td ><div align="right">Password</div></td>
<td> </td>
<td><input name="password" type="password"
id="password" size="20" maxlength="20"></td>
</tr>
<tr >
<td colspan="3" > <div align="center">
<input type="submit" name="Submit" value="Submit">
</div></td>
</tr>
</table>
</form>
</body>
</html>
My problem is, for password <input name="password"
type="password"> element the size given is 20. For another
one <input name="username"> is also 20. But in browser the
size differs for Charset="UTF-8" only. How to make equal
in display?
the sample is here:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%response.Charset="UTF-8"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<form name="test">
<table width="50%" align="center">
<tr bgcolor="#FEFFF2">
<td colspan="3" class="maintextbold"><div
align="center"><strong>Login Test</strong></div></td>
</tr>
<tr bgcolor="#FEFFF2">
<td width="35%" class="maintextbold"><div
align="right">User Name</div></td>
<td width="4%"> </td>
<td width="61%"><input name="username" type="text"
size="20" maxlength="20" autocomplete="off"></td>
</tr>
<tr bgcolor="#FEFFF2">
<td ><div align="right">Password</div></td>
<td> </td>
<td><input name="password" type="password"
id="password" size="20" maxlength="20"></td>
</tr>
<tr >
<td colspan="3" > <div align="center">
<input type="submit" name="Submit" value="Submit">
</div></td>
</tr>
</table>
</form>
</body>
</html>