473,499 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

INPUT field sizes in Netscape

Hi - I have the following field defined:

<asp:textbox id="txtUsername" MaxLength="50" Runat="server" Width="312px"
Height="24"></asp:textbox>

When displayed in IE, it gets rendered as
<input name="txtUsername" type="text" maxlength="50" id="txtUsername"
style="height:24px;width:312px;" />

and shows the proper field length.

However, when shown in Netscape/Firefox it gets rendered as:

<input name="txtUsername" type="text" maxlength="50" id="txtUsername" />
and (like all other similar fields) displays a fixed field size which is
smaller than required.Why? What do I need to do to fix? Thanks,Paul.ps. The
'Target Schema' for the page is IE 5.0.
Nov 19 '05 #1
3 1058
you need to update the browerCaps section in machine.config. google this
group for links

-- bruce (sqlwork.com)
"Paul W" <qq*@qqq.com> wrote in message
news:uZ**************@TK2MSFTNGP10.phx.gbl...
Hi - I have the following field defined:

<asp:textbox id="txtUsername" MaxLength="50" Runat="server" Width="312px"
Height="24"></asp:textbox>

When displayed in IE, it gets rendered as
<input name="txtUsername" type="text" maxlength="50" id="txtUsername"
style="height:24px;width:312px;" />

and shows the proper field length.

However, when shown in Netscape/Firefox it gets rendered as:

<input name="txtUsername" type="text" maxlength="50" id="txtUsername" />
and (like all other similar fields) displays a fixed field size which is
smaller than required.Why? What do I need to do to fix? Thanks,Paul.ps.
The 'Target Schema' for the page is IE 5.0.

Nov 19 '05 #2
Thank you.
--------------------

"Bruce Barker" <br******************@safeco.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
you need to update the browerCaps section in machine.config. google this
group for links

-- bruce (sqlwork.com)
"Paul W" <qq*@qqq.com> wrote in message
news:uZ**************@TK2MSFTNGP10.phx.gbl...
Hi - I have the following field defined:

<asp:textbox id="txtUsername" MaxLength="50" Runat="server" Width="312px"
Height="24"></asp:textbox>

When displayed in IE, it gets rendered as
<input name="txtUsername" type="text" maxlength="50" id="txtUsername"
style="height:24px;width:312px;" />

and shows the proper field length.

However, when shown in Netscape/Firefox it gets rendered as:

<input name="txtUsername" type="text" maxlength="50" id="txtUsername" />
and (like all other similar fields) displays a fixed field size which is
smaller than required.Why? What do I need to do to fix? Thanks,Paul.ps.
The 'Target Schema' for the page is IE 5.0.


Nov 19 '05 #3
Hi Paul,

Try this link:

http://aspnet.4guysfromrolla.com/articles/050504-1.aspx

Roger

--
Cr Cr
"Paul W" wrote:
Thank you.
--------------------

"Bruce Barker" <br******************@safeco.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
you need to update the browerCaps section in machine.config. google this
group for links

-- bruce (sqlwork.com)
"Paul W" <qq*@qqq.com> wrote in message
news:uZ**************@TK2MSFTNGP10.phx.gbl...
Hi - I have the following field defined:

<asp:textbox id="txtUsername" MaxLength="50" Runat="server" Width="312px"
Height="24"></asp:textbox>

When displayed in IE, it gets rendered as
<input name="txtUsername" type="text" maxlength="50" id="txtUsername"
style="height:24px;width:312px;" />

and shows the proper field length.

However, when shown in Netscape/Firefox it gets rendered as:

<input name="txtUsername" type="text" maxlength="50" id="txtUsername" />
and (like all other similar fields) displays a fixed field size which is
smaller than required.Why? What do I need to do to fix? Thanks,Paul.ps.
The 'Target Schema' for the page is IE 5.0.



Nov 19 '05 #4

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

Similar topics

10
6695
by: CES | last post by:
All, I'm having a problem returning focus back to an input field in Netscape. The code works in IE and Opera but not in netscape6+. Basically I have a function that is called upon...
2
7233
by: Jim Witte | last post by:
Hi, How do I set a file input element? If it's a text input, I can set the value property. But this doesn't work with file inputs. And no, I can't change it - I'm writing a script to...
6
9606
by: WindAndWaves | last post by:
Hi Gurus In my quest in putting my first javascript together, I am now trying to conquer something that seems trivial, but has taken me hours. I would like to format a field in a form once the...
3
4203
by: Michael Singer | last post by:
I wrote a simple testprogramm which renders a hidden input field. the value of this field is dynamically generated and filled with 100000 "z"'s --> "zzzzzzzzzzzzzzzzzzz..." and so on. if i...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
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...
0
7178
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,...
0
7223
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...
0
5475
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,...
0
3103
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...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.