473,696 Members | 1,553 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 1993
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
4130
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
1627
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
2063
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
3257
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
9855
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
2448
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
1436
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
2201
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
8656
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8871
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,...
0
8846
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7694
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6512
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
5851
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
4351
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...
2
2306
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1989
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.