473,385 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Textbox width, Netscape

A server control textbox width displays in IE6 the same as in the 2003 IDE.
But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
design setting.

I've tried putting the textbox in a table and in a panel but with no change.

Does anyone know how to get around this?

Jay
Jul 21 '05 #1
2 1272
This is an issue with multi browser (or multi version) support for an
application. You might want to use percentages to set the size of your
control relative to the page, instead of hard coded pixel sizes.
"Jay Vinton" wrote:
A server control textbox width displays in IE6 the same as in the 2003 IDE.
But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
design setting.

I've tried putting the textbox in a table and in a panel but with no change.

Does anyone know how to get around this?

Jay

Jul 21 '05 #2
haven't tried it in Netscape but it IE & Firefox the following textbox has
the same size setting the width using css.

In my stylesheet:
input.UsernameTextBox
{
font-family: Verdana, Tahoma, Trebuchet MS, Arial;
font-size: 12px;
font-weight: normal;
color: #000000;
width: 200px;
}

and on my page:
<input type="text" id="usernameTextBox" class="UsernameTextBox" />

Gabriel Lozano-Morán
"Jay Vinton" <Ja*******@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
A server control textbox width displays in IE6 the same as in the 2003 IDE.
But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's
design setting.

I've tried putting the textbox in a table and in a panel but with no
change.

Does anyone know how to get around this?

Jay

Jul 21 '05 #3

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

Similar topics

20
by: Jeff Nibler | last post by:
I'm trying to set the width of a textbox via a style sheet but it isn't working for Netscape 4.7 This is what the page looks like: <form> <input type="text" class="t1"> </form> This is...
7
by: Alex | last post by:
<html> <body> <form> <input type="textbox" id="myTxt" value="what's my width?" onClick="alert(this.width)"> </form> </body> </html> how can I get a handle on the width of that textbox? Or...
3
by: Tim Zych | last post by:
When I use IE, the textbox on my webform is normal. When I use Mozilla Firebird, the textbox is tiny and it is impossible to type text into it. What must I do to make the textbox viewable with...
8
by: tshad | last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I am trying to set the textbox to act like a label in some instance so it doesn't have a border, readonly and the background...
2
by: Jay Vinton | last post by:
A server control textbox width displays in IE6 the same as in the 2003 IDE. But in Netscape 8 and Firefox 1.0.4 the width is only about 1/3 of it's design setting. I've tried putting the textbox...
2
by: Jeff | last post by:
Using ASP.NET 1.1 I have an <asp:TextBox... for which I set the width property --- "width=30". The textbox is being rendered to the browser like this: <input name="someName" type="text"...
2
by: David McDivitt | last post by:
resending with better URL At the URL http://www.spfldcycling.org/miles/06_12_detail.htm , I'm having difficulty resizing a DIV object when the window resizes. I want to get the left and top...
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
1
by: =?Utf-8?B?d2NsYXJrZTEwMQ==?= | last post by:
Hello all, I've created the following ASP.NET code sample which, when rendered, displays a 100% textbox within a single cell table. The problem is that Internet Explorer (6 or 7) truncates the...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.