473,809 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reg: Password field in Charset=UTF-8

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="VB SCRIPT" CODEPAGE="1252" %>
<%response.Char set="UTF-8"%>
<html>
<head>
<title>Untitl ed 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="#FEFFF 2">
<td colspan="3" class="maintext bold"><div
align="center"> <strong>Login Test</strong></div></td>
</tr>
<tr bgcolor="#FEFFF 2">
<td width="35%" class="maintext bold"><div
align="right">U ser Name</div></td>
<td width="4%">&nbs p;</td>
<td width="61%"><in put name="username" type="text"
size="20" maxlength="20" autocomplete="o ff"></td>
</tr>
<tr bgcolor="#FEFFF 2">
<td ><div align="right">P assword</div></td>
<td>&nbsp;</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>

Jul 19 '05 #1
3 4087
This isn't an ASP issue. It's a browser issue. Use css to control the
width.

For example:
<input name="username" type="text" style="width: 150px;" maxlength="20"
autocomplete="o ff">
<input name="password" type="password" id="password" style="width: 150px;"
maxlength="20">

Also, without UTF-8, the sizes still vary in IE6.

Ray at home

"Lakshmi Narayanan" <la******@yahoo .co.in> wrote in message
news:d6******** *************** *****@phx.gbl.. .
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:
<td width="61%"><in put name="username" type="text" size="20" maxlength="20" autocomplete="o ff"></td>

Jul 19 '05 #2
Thanx sir,

You style is working. with regards

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
Thanx Expert,

its working fine.
-----Original Message-----
This isn't an ASP issue. It's a browser issue. Use css to control thewidth.

For example:
<input name="username" type="text" style="width: 150px;" maxlength="20"autocomplete=" off">
<input name="password" type="password" id="password" style="width: 150px;"maxlength="20" >

Also, without UTF-8, the sizes still vary in IE6.

Ray at home

"Lakshmi Narayanan" <la******@yahoo .co.in> wrote in messagenews:d6******* *************** ******@phx.gbl. ..
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:

<td width="61%"><in put name="username" type="text"
size="20" maxlength="20" autocomplete="o ff"></td>

.

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
4650
by: The Bicycling Guitarist | last post by:
My web site has not been spidered by Googlebot since April 2003. The site in question is at www.TheBicyclingGuitarist.net/ I received much help from this NG and the stylesheets NG when updating the code before then. My host's tech guy just sent me the following. Isn't it okay to specify UTF-8 as the charset in the HTTP headers at the server level? Isn't it okay to have validated XHTML 1.0 strict code? ...
0
2470
by: | last post by:
Hello NG! I try to call a WebService from a mobile device. The WebService should return a DataSet, so the call looks like mDataSet = mWebSrv.GetDataSet(<Params>) but instead of returning a DataSet, that call throws an error: InvalidOperationException
1
3005
by: Grzegorz ¦lusarek | last post by:
Hi all. I sending email using standard python modules smtplib, email, coding email in utf but subject of message is not coded properly. In subject i use my national characters (polish) and after send i get XX in place these characters. Here is the code Message = email.message_from_string(pMessage) Message.set_charset('utf-8') Message = 'test@o2.pl' Message = 'gt@o2.pl'
1
4016
by: Jesús Bosch | last post by:
I get this error after trying to call a method in a webeservice. This webservice returns an html page (as string), but I recieve this error. Someone knows a solution for this? Thanks! Jesús Bosch Aiguadé www.jbmixed.blogspot.com
3
68978
by: John S | last post by:
Using VB.NET 2005, I created a Web Service that returns a dataset from a SQL Server database. In the same solution I created a test GUI with a Windows form to display the results. It worked fine on my development PC but when I moved the Web Service to a server on our network I get the following error: "Client found response content type of 'text/html; charset=utf-8', but
10
19587
by: Jed | last post by:
I have a form that needs to handle international characters withing the UTF-8 character set. I have tried all the recommended strategies for getting utf-8 characters from form input to email message and I cannot get it to work. I need to stay with classic asp for this. Here are some things I tried: 'CDONTS Call msg.SetLocaleIDs(65001)
1
6256
by: Eric | last post by:
Hello, I have the following xml: <?xml-stylesheet type="text/xsl" href="C:\mypath\myxsl.xsl"?> <page> <appl> <datedisplay>mm/dd/yy</datedisplay> </appl> <forms>
1
9526
by: burnsy2000 | last post by:
We are running ASP classic on IIS 5 on W2k SP4. We recently added <% Response.charset="utf-8"%to the top of all our pages (as suggested by validator.w3.org). A problem arose on a page which applies Server.HTMLEncode to a field that was inputted from the user. The problem is that when the user enters a phrase such as: My Fiancé The Server.URLEncode returns the value:
2
4042
kaleeswaran
by: kaleeswaran | last post by:
Hi.. I am running web application using NetBeans ID... While i am running this code i got an error like this... java.lang.NoClassDefFoundError: org/netbeans/modules/web/project/ant/JspCSingle Exception in thread "main"
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.