Please help!
-
I have a word document which contains a few tables. I saved the .doc file to a .html file in Word 2000, then I copied the HTML code over to my ASP project within the "BODY" of the aspx page. I added "Textboxes" and "radiobuttons" (from Web Forms toolbox) to the aspx file on top of the html tables. I compiled and run the program. Textboxes are out of place and radio buttons are missing. Can anyone please tell me know why the controls are out of place/missing? Any help will be appreciated.
-
I have a word document which contains a few tables. I saved the .doc file to a .html file in Word 2000, then I copied the HTML code over to my ASP project within the "BODY" of the aspx page. I added "Textboxes" and "radiobuttons" (from Web Forms toolbox) to the aspx file on top of the html tables. I compiled and run the program. Textboxes are out of place and radio buttons are missing. Can anyone please tell me know why the controls are out of place/missing? Any help will be appreciated.
Hello, I think you have added the Textboxes and Radios with absolut positioning. This is default. You should remove all position tags from the textboxes and radios in the html source view and set the body to MS_POSITIONING="GridLayout". Greetings from Stephan
-
Hello, I think you have added the Textboxes and Radios with absolut positioning. This is default. You should remove all position tags from the textboxes and radios in the html source view and set the body to MS_POSITIONING="GridLayout". Greetings from Stephan
Hi Stephan, Thank you for your help. I followed what you said, but all textboxes and radios shifted to the left of the screen. Then, I moved them to the positions I wanted and the position tags appears again in HTML. Is there anyway to pre-set the POSITION to "relative" before I relocate the textboxes and radios. I can still changed the POSITION to "relative" and adjust the LEFT px manually one by one to force all controls in it's positions but it's kind of cumbersome. Please let me know if you can think of another solutions. Thanks!
-
Hi Stephan, Thank you for your help. I followed what you said, but all textboxes and radios shifted to the left of the screen. Then, I moved them to the positions I wanted and the position tags appears again in HTML. Is there anyway to pre-set the POSITION to "relative" before I relocate the textboxes and radios. I can still changed the POSITION to "relative" and adjust the LEFT px manually one by one to force all controls in it's positions but it's kind of cumbersome. Please let me know if you can think of another solutions. Thanks!
Hm, Maybe I misunderstood you. I thought, you position the elements with a table. That is the way, that I use. The Form is Gridlayout, the elements will be positioned via a unvisible table (border=0). I hope that helps. Stephan
-
Hm, Maybe I misunderstood you. I thought, you position the elements with a table. That is the way, that I use. The Form is Gridlayout, the elements will be positioned via a unvisible table (border=0). I hope that helps. Stephan
Hi Stephan, You are right, these textboxes and radios are localed in a table. But below the table, I also have a few buttons and textboxes. If I don't use relative positioning, all these controls move to the left of the screen as I described before. Please let me know if you can help. Thank you! Vito
-
Hi Stephan, You are right, these textboxes and radios are localed in a table. But below the table, I also have a few buttons and textboxes. If I don't use relative positioning, all these controls move to the left of the screen as I described before. Please let me know if you can help. Thank you! Vito
Hi, I don't use any positioning, no relative no absolut. Here is an example:
<table border=0 width=100%> <tr> <td><asp:label id=LB_one runat=server></asp:label></td> <td><asp:textbox id=TB_one runat=server></asp:textbox></td> <td> </td> </tr> <tr> <td><hr></td> </tr> <tr> <td> </td> <td><asp:label id=LB_two runat=server></asp:label></td> <td><asp:textbox id=TB_two runat=server></asp:textbox></td> </tr> </table>
If you set the table cells (td's) with a alignment and/or width, you can do a absolut position of each element. Hope that helps. Happy weekend. Stephan -
Hi, I don't use any positioning, no relative no absolut. Here is an example:
<table border=0 width=100%> <tr> <td><asp:label id=LB_one runat=server></asp:label></td> <td><asp:textbox id=TB_one runat=server></asp:textbox></td> <td> </td> </tr> <tr> <td><hr></td> </tr> <tr> <td> </td> <td><asp:label id=LB_two runat=server></asp:label></td> <td><asp:textbox id=TB_two runat=server></asp:textbox></td> </tr> </table>
If you set the table cells (td's) with a alignment and/or width, you can do a absolut position of each element. Hope that helps. Happy weekend. StephanThanks. You have a good weekend too.
-
I have a word document which contains a few tables. I saved the .doc file to a .html file in Word 2000, then I copied the HTML code over to my ASP project within the "BODY" of the aspx page. I added "Textboxes" and "radiobuttons" (from Web Forms toolbox) to the aspx file on top of the html tables. I compiled and run the program. Textboxes are out of place and radio buttons are missing. Can anyone please tell me know why the controls are out of place/missing? Any help will be appreciated.
Hi: When you save Word document to HTML page there are lot of word specific tags and definitions. There are freeware editors like HTML-Kit (http://www.chami.com/html-kit/[^]) which has plugins to strip surplus word 2000 tags. Then you can use the cleaned up HTML in your ASP.NET application. Did this help you? Deepak Kumar Vasudevan Personal Web: http://www24.brinkster.com/lavanyadeepak/default.asp I Blog At: http://deepak.blogdrive.com/
-
Hi: When you save Word document to HTML page there are lot of word specific tags and definitions. There are freeware editors like HTML-Kit (http://www.chami.com/html-kit/[^]) which has plugins to strip surplus word 2000 tags. Then you can use the cleaned up HTML in your ASP.NET application. Did this help you? Deepak Kumar Vasudevan Personal Web: http://www24.brinkster.com/lavanyadeepak/default.asp I Blog At: http://deepak.blogdrive.com/
Thanks for helping me! It really help!