473,566 Members | 2,908 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="txtUserna me" type="text" maxlength="50" id="txtUsername "
style="height:2 4px;width:312px ;" />

and shows the proper field length.

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

<input name="txtUserna me" 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 1068
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******** ******@TK2MSFTN GP10.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="txtUserna me" type="text" maxlength="50" id="txtUsername "
style="height:2 4px;width:312px ;" />

and shows the proper field length.

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

<input name="txtUserna me" 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.c om> wrote in message
news:%2******** *******@TK2MSFT NGP12.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******** ******@TK2MSFTN GP10.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="txtUserna me" type="text" maxlength="50" id="txtUsername "
style="height:2 4px;width:312px ;" />

and shows the proper field length.

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

<input name="txtUserna me" 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.c om> wrote in message
news:%2******** *******@TK2MSFT NGP12.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******** ******@TK2MSFTN GP10.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="txtUserna me" type="text" maxlength="50" id="txtUsername "
style="height:2 4px;width:312px ;" />

and shows the proper field length.

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

<input name="txtUserna me" 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
6704
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 exiting a form field, if the
2
7241
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 automate a process on an existing system. Jim Witte jswitte@bloomington.in.us
6
9621
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 person has completed it. The format should be "00". For example, if the person puts 1 then it should become 01 and if the person puts 12 in the...
3
4212
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 call this page in IE and view the html source there are the 100000 z's
0
7666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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...
0
8108
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...
1
7644
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...
0
7951
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...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.