469,600 Members | 2,367 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

Extra Space in Cells

Using ASP.net 1.1 to create user input form.

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

What can I do?

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

When I put a RequiredFieldValidator I have extra space at the bottom of the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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*******@gmail.comwrote in message
news:11**********************@e16g2000pri.googlegr oups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
>Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldValidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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...@microsoft.comwrote:
Sorry to be dumb, but what do you mean by "client side source code"?

"jufemaiz: jc" <euphem...@gmail.comwrote in message

news:11**********************@e16g2000pri.googlegr oups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldValidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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*******@gmail.comwrote in message
news:11**********************@e16g2000pri.googlegr oups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
>Using ASP.net 1.1 to create user input form.

When I put a RequiredFieldValidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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...@microsoft.comwrote:
I don't have any client side source code. It is all in Server side.

"jufemaiz: jc" <euphem...@gmail.comwrote in message

news:11**********************@e16g2000pri.googlegr oups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldValidator I have extra space at the bottom of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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*******@gmail.comwrote in message
news:11**********************@o11g2000prd.googlegr oups.com...
On Jun 27, 10:54 am, "dancer" <dan...@microsoft.comwrote:
>I don't have any client side source code. It is all in Server side.

"jufemaiz: jc" <euphem...@gmail.comwrote in message

news:11**********************@e16g2000pri.googleg roups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
Using ASP.net 1.1 to create user input form.
>When I put a RequiredFieldValidator I have extra space at the bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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...@microsoft.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...@gmail.comwrote in message

news:11**********************@o11g2000prd.googlegr oups.com...
On Jun 27, 10:54 am, "dancer" <dan...@microsoft.comwrote:
I don't have any client side source code. It is all in Server side.
"jufemaiz: jc" <euphem...@gmail.comwrote in message
>news:11**********************@e16g2000pri.googleg roups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
Using ASP.net 1.1 to create user input form.
When I put a RequiredFieldValidator I have extra space at the bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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*******@gmail.comwrote in message
news:11*********************@m37g2000prh.googlegro ups.com...
On Jun 27, 11:13 am, "dancer" <dan...@microsoft.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...@gmail.comwrote in message

news:11**********************@o11g2000prd.googleg roups.com...
On Jun 27, 10:54 am, "dancer" <dan...@microsoft.comwrote:
I don't have any client side source code. It is all in Server side.
>"jufemaiz: jc" <euphem...@gmail.comwrote in message
>>news:11**********************@e16g2000pri.google groups.com...
On Jun 27, 9:30 am, "dancer" <dan...@microsoft.comwrote:
Using ASP.net 1.1 to create user input form.
>When I put a RequiredFieldValidator I have extra space at the
bottom
of
the
cell, as if I had put a <br>.
When I comment out the RequiredFieldValidator, 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Brian | last post: by
4 posts views Thread by Christoph Haas | last post: by
reply views Thread by Diane Yocom | last post: by
1 post views Thread by Benjamin Rutt | last post: by
11 posts views Thread by rfox | last post: by
10 posts views Thread by fleemo17 | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.