473,791 Members | 2,985 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extra Space in Cells

Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldVa lidator I have extra space at the bottom of the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.

What can I do?

Jun 26 '07 #1
8 1998
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldVa lidator I have extra space at the bottom of the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.

What can I do?
what does the client side source code show?

Jun 27 '07 #2
Sorry to be dumb, but what do you mean by "client side source code"?


"jufemaiz: jc" <eu*******@gmai l.comwrote in message
news:11******** **************@ e16g2000pri.goo glegroups.com.. .
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
>Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldVa lidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.

What can I do?

what does the client side source code show?

Jun 27 '07 #3
On Jun 27, 10:44 am, "dancer" <dan...@microso ft.comwrote:
Sorry to be dumb, but what do you mean by "client side source code"?

"jufemaiz: jc" <euphem...@gmai l.comwrote in message

news:11******** **************@ e16g2000pri.goo glegroups.com.. .
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldVa lidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.
What can I do?
what does the client side source code show?
the code that is seen on the client side (as in what the browser
shows)...

You using Firefox or IE or Opera or Safari? (Try Firefox with web
developer + firebug for one of the best client side developer
environments available)

Jun 27 '07 #4
I don't have any client side source code. It is all in Server side.
"jufemaiz: jc" <eu*******@gmai l.comwrote in message
news:11******** **************@ e16g2000pri.goo glegroups.com.. .
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
>Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldVa lidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.

What can I do?

what does the client side source code show?

Jun 27 '07 #5
On Jun 27, 10:54 am, "dancer" <dan...@microso ft.comwrote:
I don't have any client side source code. It is all in Server side.

"jufemaiz: jc" <euphem...@gmai l.comwrote in message

news:11******** **************@ e16g2000pri.goo glegroups.com.. .
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldVa lidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes away.
Don't want that extra space, but want the validator.
What can I do?
what does the client side source code show?
then how do you know there's additional space when output?

I hope you're not relying on the "WYSIWYG" because there's nothing out
there that renders properly across all the browsers (best to test
properly)

Jun 27 '07 #6
I know that there is extra space because when I run it I see the extra
space.
I am testing on my computer with iis.
It seems to reserve space for the text I put in as the error message in the
Required Field Validator.
Is there a way NOT to reserve that space, and have it expand only if the
error occurs?
"jufemaiz: jc" <eu*******@gmai l.comwrote in message
news:11******** **************@ o11g2000prd.goo glegroups.com.. .
On Jun 27, 10:54 am, "dancer" <dan...@microso ft.comwrote:
>I don't have any client side source code. It is all in Server side.

"jufemaiz: jc" <euphem...@gmai l.comwrote in message

news:11******* *************** @e16g2000pri.go oglegroups.com. ..
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.
>When I put a RequiredFieldVa lidator I have extra space at the bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes
away.
Don't want that extra space, but want the validator.
>What can I do?
what does the client side source code show?

then how do you know there's additional space when output?

I hope you're not relying on the "WYSIWYG" because there's nothing out
there that renders properly across all the browsers (best to test
properly)

Jun 27 '07 #7
On Jun 27, 11:13 am, "dancer" <dan...@microso ft.comwrote:
I know that there is extra space because when I run it I see the extra
space.
I am testing on my computer with iis.
It seems to reserve space for the text I put in as the error message in the
Required Field Validator.
Is there a way NOT to reserve that space, and have it expand only if the
error occurs?

"jufemaiz: jc" <euphem...@gmai l.comwrote in message

news:11******** **************@ o11g2000prd.goo glegroups.com.. .
On Jun 27, 10:54 am, "dancer" <dan...@microso ft.comwrote:
I don't have any client side source code. It is all in Server side.
"jufemaiz: jc" <euphem...@gmai l.comwrote in message
>news:11******* *************** @e16g2000pri.go oglegroups.com. ..
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldVa lidator I have extra space at the bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes
away.
Don't want that extra space, but want the validator.
What can I do?
what does the client side source code show?
then how do you know there's additional space when output?
I hope you're not relying on the "WYSIWYG" because there's nothing out
there that renders properly across all the browsers (best to test
properly)
ok, I'm starting to understand what you are saying. You *are* viewing
this extra space in a web browser, right (as in the page is being
served up by the IIS server).

Do you have any control over the output of the field validator (ie:
can you wrap it in your own elements?). Screenshot it somewhere, or
post the x/html source for the page being served, it'll give me a far
better clue of what's happening.

Jun 27 '07 #8
I found it. Display =Dynamic collapses the space reserved.
"jufemaiz: jc" <eu*******@gmai l.comwrote in message
news:11******** *************@m 37g2000prh.goog legroups.com...
On Jun 27, 11:13 am, "dancer" <dan...@microso ft.comwrote:
>I know that there is extra space because when I run it I see the extra
space.
I am testing on my computer with iis.
It seems to reserve space for the text I put in as the error message in
the
Required Field Validator.
Is there a way NOT to reserve that space, and have it expand only if the
error occurs?

"jufemaiz: jc" <euphem...@gmai l.comwrote in message

news:11******* *************** @o11g2000prd.go oglegroups.com. ..
On Jun 27, 10:54 am, "dancer" <dan...@microso ft.comwrote:
I don't have any client side source code. It is all in Server side.
>"jufemaiz: jc" <euphem...@gmai l.comwrote in message
>>news:11****** *************** *@e16g2000pri.g ooglegroups.com ...
On Jun 27, 9:30 am, "dancer" <dan...@microso ft.comwrote:
Using ASP.net 1.1 to create user input form.
>When I put a RequiredFieldVa lidator I have extra space at the
bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldVa lidator, the extra space goes
away.
Don't want that extra space, but want the validator.
>What can I do?
what does the client side source code show?
then how do you know there's additional space when output?
I hope you're not relying on the "WYSIWYG" because there's nothing out
there that renders properly across all the browsers (best to test
properly)

ok, I'm starting to understand what you are saying. You *are* viewing
this extra space in a web browser, right (as in the page is being
served up by the IIS server).

Do you have any control over the output of the field validator (ie:
can you wrap it in your own elements?). Screenshot it somewhere, or
post the x/html source for the page being served, it'll give me a far
better clue of what's happening.

Jun 27 '07 #9

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

Similar topics

5
4137
by: Brian | last post by:
Hello group, http://people.umass.edu/btrembla/ (html 4.01/strict) uses a conventional menu marked up as a list, and css http://people.umass.edu/btrembla/css/brian.css http://people.umass.edu/btrembla/css/screen.css to enhance their appearance. I added
4
1632
by: Christoph Haas | last post by:
Evening... I'm writing a simple interactive program to maintain a database. The goal was to print "> " at the beginning of the line, wait for user input and then deal with it. Minimal test program: import sys; print ">", ; print sys.stdin.readline() However when I run the program and enter "foobar" it looks like this:
1
2067
by: Matt Bush | last post by:
Using .NET Framework 1.1 and Visual Studio .NET 2003. Language is VB.NET. When loading an XML String using XMLDocument.LoadXml we are getting an extra space inserted into abbreviated end tags: objXmlDoc.XmlResolver = Nothing objXmlDoc.LoadXml(XmlData) .... .... objXmlDoc.InnerXml (gets written to database)
0
308
by: Diane Yocom | last post by:
I'm dynamically building a table in the code behind and I'm having a problem with an extra space after the tablerow. The HTML renders like this: <td> <a href="#"><img src="mypicture1.bmp" border="0" /></a> </td> <td> <a href="#"><img src="mypicture2.bmp" border="0" /></a> </td> <td>
1
3265
by: Benjamin Rutt | last post by:
There has been a problem that has been bugging me for a while for reading input from standard in. Consider the following simple program: #!/usr/bin/env python import sys print 'enter something: ', answer = sys.stdin.readline().strip() print 'you answered {%s}' % (answer) When I run this interactively, the following happens:
11
9867
by: rfox | last post by:
I've built a site using tables for layout, and it looks ok in everything but in IE where it places extra space around the graphics that contain a rollover script. (Please see http://www.bentleysweb.com ) Below is a snippet of the table cell in question. How can I eliminate that extra space in IE? Thanks. -Ray
10
2457
by: fleemo17 | last post by:
I have another table layout that looks good in all the browsers I've tested it in *except*, once again, IE on the PC. In IE there's extra space around some of the table cells making up the layout. Apparently, the problem lies with the bit of javascript I've used to randomly display a photo on the page. If I take the javascript out, the pieces of the layout fit together seamlessly. Put the javascript back in and gaps appear. Here's...
4
1441
by: alf | last post by:
Hi, I can not find out where the extra space comes from. Run following: import os,sys while 1: print 'Question ]?', if sys.stdin.readline().strip() in ('Y','y'): #do something pass
3
2206
by: adiasu | last post by:
The text in my document contains the right bracket character ]. When the browser displays the text, it seems to add an extra space after the character. For example, if I want to display a]A, the browser displays it as a] A Can any one help me so that I can avoid this extra space. ( I think that this problem comes in IE 8 only, not in IE6 etc)
0
9515
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
10427
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
10207
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
10155
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,...
1
7537
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
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
5431
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...
1
4110
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 we have to send another system
3
2916
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.