473,498 Members | 2,026 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb.net web form text box not displaying correctly

I have a text box on a web form here is the HTML for it :-

<asp:textbox id="winPts" style="LEFT: 170px; POSITION: absolute; TOP:
80px" runat="server" Width="24px" maxlength="2"></asp:textbox>

This is one of several such boxes. The problem I have is on my lap
top using Viual Studio 2003 the text boxes display as intended. I
have copied the source code across to my desktop and when I run the
page using Visula Studio 2003 the form displays but the outline of the
text box is significantly longer than the same display on my lap top.

I also have a similar problem with listboxes i.e. on my desktop the
list boxes are displayed significantly smaller than intended i.e.
smaller than displayed on my lap top.

The Form tag is <FORM runat="server">

Both machine use XP Profession IE6.

Other text boxes on another page seem to be OK.

Why the difference in the display of these boxes?

Thanks in anticipation
Duncan
Nov 18 '05 #1
3 2480
does screen resolution on your laptop and desktop are same?

On 17 Sep 2004 06:58:56 -0700, dw***@woodace.co.uk (duncan) wrote:
I have a text box on a web form here is the HTML for it :-

<asp:textbox id="winPts" style="LEFT: 170px; POSITION: absolute; TOP:
80px" runat="server" Width="24px" maxlength="2"></asp:textbox>

This is one of several such boxes. The problem I have is on my lap
top using Viual Studio 2003 the text boxes display as intended. I
have copied the source code across to my desktop and when I run the
page using Visula Studio 2003 the form displays but the outline of the
text box is significantly longer than the same display on my lap top.

I also have a similar problem with listboxes i.e. on my desktop the
list boxes are displayed significantly smaller than intended i.e.
smaller than displayed on my lap top.

The Form tag is <FORM runat="server">

Both machine use XP Profession IE6.

Other text boxes on another page seem to be OK.

Why the difference in the display of these boxes?

Thanks in anticipation
Duncan


Nov 18 '05 #2
Jinsong Liu <jl**@waveseeker.com> wrote in message news:<4n********************************@4ax.com>. ..
does screen resolution on your laptop and desktop are same?

On 17 Sep 2004 06:58:56 -0700, dw***@woodace.co.uk (duncan) wrote:
I have a text box on a web form here is the HTML for it :-

<asp:textbox id="winPts" style="LEFT: 170px; POSITION: absolute; TOP:
80px" runat="server" Width="24px" maxlength="2"></asp:textbox>

This is one of several such boxes. The problem I have is on my lap
top using Viual Studio 2003 the text boxes display as intended. I
have copied the source code across to my desktop and when I run the
page using Visula Studio 2003 the form displays but the outline of the
text box is significantly longer than the same display on my lap top.

I also have a similar problem with listboxes i.e. on my desktop the
list boxes are displayed significantly smaller than intended i.e.
smaller than displayed on my lap top.
They are different but 1280 * 1024 on the desktop and 1024 * 768 on
the laptop.

That is not the issue as the page will have to display on a variety of
screen resolutions. Why are some text boxes on other pages OK?
Other elements of the page e.g. tables, labels, frames appear
correctly.

Guidance need please.
Duncan
The Form tag is <FORM runat="server">

Both machine use XP Profession IE6.

Other text boxes on another page seem to be OK.

Why the difference in the display of these boxes?

Thanks in anticipation
Duncan

Nov 18 '05 #3
dw***@woodace.co.uk (duncan) wrote in message news:<8f**************************@posting.google. com>...
Jinsong Liu <jl**@waveseeker.com> wrote in message news:<4n********************************@4ax.com>. ..
does screen resolution on your laptop and desktop are same?

On 17 Sep 2004 06:58:56 -0700, dw***@woodace.co.uk (duncan) wrote:
I have a text box on a web form here is the HTML for it :-

<asp:textbox id="winPts" style="LEFT: 170px; POSITION: absolute; TOP:
80px" runat="server" Width="24px" maxlength="2"></asp:textbox>

This is one of several such boxes. The problem I have is on my lap
top using Viual Studio 2003 the text boxes display as intended. I
have copied the source code across to my desktop and when I run the
page using Visula Studio 2003 the form displays but the outline of the
text box is significantly longer than the same display on my lap top.

I also have a similar problem with listboxes i.e. on my desktop the
list boxes are displayed significantly smaller than intended i.e.
smaller than displayed on my lap top.
They are different but 1280 * 1024 on the desktop and 1024 * 768 on
the laptop.

That is not the issue as the page will have to display on a variety of
screen resolutions. Why are some text boxes on other pages OK?
Other elements of the page e.g. tables, labels, frames appear
correctly.

Guidance need please.
Duncan
The Form tag is <FORM runat="server">

Both machine use XP Profession IE6.

Other text boxes on another page seem to be OK.

Why the difference in the display of these boxes?

Thanks in anticipation
Duncan


Guys

I seem to have sorted it. I moved the width="24px" to within the
<style> tag the text box is now the correct width. Quite it was
right in my laptop but on my desktop until I made this change is one
of lifes little mystries.
Duncan
Nov 18 '05 #4

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

Similar topics

5
4244
by: TG | last post by:
Dear PHP Group, I have two forms that are used to collect user information. The first one takes user inputted values such as fullname, city, address etc. I want these values to display in the...
1
4296
by: Orest Kinasevych | last post by:
Okay, I made sense of the earlier suggestions and realized I was on the right track -- I appreciate the feedback which got me to this point. The suggestions posted here indeed worked and...
2
1181
by: gringo | last post by:
Hello, I've made a form that works almost correctly. Problem is that When You fill in a form and push on preview, you see the information you've filled in. Now in this page (preview page) I made...
3
3493
by: Robin S. | last post by:
I tried to ask this question several days ago, but I didn't explain my application correctly. Basically I want to have one record from table "A" and I want to display, say, 5 records from table...
25
10162
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
4
2424
by: Tony W | last post by:
Hi, I am trying to write a simple application to retrieve data from the Windows registry and insert it into textboxs on a windows form. So far I have one namespace containing two classess. ...
4
1275
by: Simon Verona | last post by:
I have a class that provides functionality that is around my application. One function it provides is a "PleaseWait" method, which displays a popup please wait form. This works as a pair of...
25
5286
by: Wim Cossement | last post by:
Hello, I was wondering if there are a few good pages and/or examples on how to process form data correctly for putting it in a MySQL DB. Since I'm not used to using PHP a lot, I already found...
1
4254
by: tomlebold | last post by:
Having problems displaying query results from combo boxes on a sub form, which is on the same form that is used to select criteria. This has always worked form me when displaying query results on...
0
7121
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
7162
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,...
1
6881
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...
0
5456
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,...
1
4899
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...
0
4584
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...
0
3088
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
1411
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 ...
0
287
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.