Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 14, 2012 04:16 AM by Amy Peng - MSFT
Member
68 Points
183 Posts
Nov 09, 2012 04:23 AM|LINK
The space of table define change bigger while place a label and a text box on the form.
The table space change when I place control. I would like to know if it is possible to have no space or a little space between my controls.
If it needs CSS file, how to configure those parameters to make sure there are limite space between controls.
Your information and help is great appreciated,
Regards,
Inungh,
Contributor
2088 Points
496 Posts
Nov 09, 2012 06:21 AM|LINK
Post your code with css
Nov 09, 2012 09:01 PM|LINK
Thanks for the message and help,
I do not use CSS file yet, just put the text box on the form in the table.
The table change bigger to have space between the controls.
Thanks again for helping,
All-Star
95463 Points
14106 Posts
Nov 11, 2012 02:12 PM|LINK
you need to remove Paddings in CSS along with Margins in CSS...then there will not be any space between controls...
thanks.
Nov 11, 2012 07:30 PM|LINK
Thanks a million for the message and help,
I just drag and drop a text box from tool box and ASP.NET jsut use Auto Style.
in Apsx file I see auto style only width and height.
Should I force them padding and margin to zero?
It seems that ASP.NET uses default values.
Thanks again for helping and information,
Nov 11, 2012 07:36 PM|LINK
Thanks a million for helping and information,
I force magin and padding to zero from Auto-Style, the controls still have space to the table.
Star
10135 Points
960 Posts
Microsoft
Nov 12, 2012 05:29 AM|LINK
inungh Thanks a million for helping and information, I force magin and padding to zero from Auto-Style, the controls still have space to the table. Thanks again for helping, Regards, Inungh,
Hi inungh
Maybe you can do this by adding cellspacing=-1; cellpadding=-1; Have a try!
Thanks, Amy Peng
Nov 12, 2012 06:23 AM|LINK
cellspacing and cellpadding does not exists using VS 2012 Express ASP.NET.
I got red undeline when I change the style.
Thanks for your information and help,
Nov 12, 2012 06:31 AM|LINK
inungh cellspacing and cellpadding does not exists using VS 2012 Express ASP.NET. I got red undeline when I change the style. Thanks for your information and help, Regards, Inungh,
I am using VS2010, Just go to the design page and right click the table then choose the properties, then you can see the cellspacing and cellpadding.
Nov 12, 2012 06:35 AM|LINK
I use VS 2012 Express, I right click on the table, but I do not see Cellspaing and CallPadding.
It is possible Microsoft remove this properties from VS 2012.
I need check this,
inungh
Member
68 Points
183 Posts
place a control on form with small space
Nov 09, 2012 04:23 AM|LINK
The space of table define change bigger while place a label and a text box on the form.
The table space change when I place control. I would like to know if it is possible to have no space or a little space between my controls.
If it needs CSS file, how to configure those parameters to make sure there are limite space between controls.
Your information and help is great appreciated,
Regards,
Inungh,
anuj_koundal
Contributor
2088 Points
496 Posts
Re: place a control on form with small space
Nov 09, 2012 06:21 AM|LINK
Post your code with css
Regards
Anuj Koundal
inungh
Member
68 Points
183 Posts
Re: place a control on form with small space
Nov 09, 2012 09:01 PM|LINK
Thanks for the message and help,
I do not use CSS file yet, just put the text box on the form in the table.
The table change bigger to have space between the controls.
Thanks again for helping,
Regards,
Inungh,
ramiramilu
All-Star
95463 Points
14106 Posts
Re: place a control on form with small space
Nov 11, 2012 02:12 PM|LINK
you need to remove Paddings in CSS along with Margins in CSS...then there will not be any space between controls...
thanks.
JumpStart
inungh
Member
68 Points
183 Posts
Re: place a control on form with small space
Nov 11, 2012 07:30 PM|LINK
Thanks a million for the message and help,
I just drag and drop a text box from tool box and ASP.NET jsut use Auto Style.
in Apsx file I see auto style only width and height.
Should I force them padding and margin to zero?
It seems that ASP.NET uses default values.
Thanks again for helping and information,
Regards,
Inungh,
inungh
Member
68 Points
183 Posts
Re: place a control on form with small space
Nov 11, 2012 07:36 PM|LINK
Thanks a million for helping and information,
I force magin and padding to zero from Auto-Style, the controls still have space to the table.
Thanks again for helping,
Regards,
Inungh,
Amy Peng - M...
Star
10135 Points
960 Posts
Microsoft
Re: place a control on form with small space
Nov 12, 2012 05:29 AM|LINK
Hi inungh
Maybe you can do this by adding cellspacing=-1; cellpadding=-1; Have a try!
Thanks,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
inungh
Member
68 Points
183 Posts
Re: place a control on form with small space
Nov 12, 2012 06:23 AM|LINK
cellspacing and cellpadding does not exists using VS 2012 Express ASP.NET.
I got red undeline when I change the style.
Thanks for your information and help,
Regards,
Inungh,
Amy Peng - M...
Star
10135 Points
960 Posts
Microsoft
Re: place a control on form with small space
Nov 12, 2012 06:31 AM|LINK
I am using VS2010, Just go to the design page and right click the table then choose the properties, then you can see the cellspacing and cellpadding.
Thanks,
Amy Peng
Feedback to us
Develop and promote your apps in Windows Store
inungh
Member
68 Points
183 Posts
Re: place a control on form with small space
Nov 12, 2012 06:35 AM|LINK
Thanks for the message and help,
I use VS 2012 Express, I right click on the table, but I do not see Cellspaing and CallPadding.
It is possible Microsoft remove this properties from VS 2012.
I need check this,
Thanks again for helping,
Regards,
Inungh,