|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to bind text box to the table?Is that possible?
In design stage when I change the table position the text box which was placed inside it will not move with it. Is there any way to permanently anchor text box to the table? Jack In addition to the previous post:
When the whole page width is resized the position of the text box changes (vertically). How to prevent that? Thanks, Jack Show quote "Jack" <replyto@it> wrote in message news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl... > Is that possible? > In design stage when I change the table position the text box which was > placed inside it will not move with it. > Is there any way to permanently anchor text box to the table? > Jack > > > No.
Text boxes are VML graphics, which use a form of absolute positioning. The positioning *always* uses the top left corner of the page as the 0,0 point, which means the VML graphic will always stay in the same spot, no matter how the rest of the page moves around. See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons why VML should be avoided. In your case, since you are using the textbox in a table cell, why use the textbox at all? -- Ron Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. http://www.rxs-enterprises.org/fp Show quote "Jack" <replyto@it> wrote in message news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: > Is that possible? > In design stage when I change the table position the text box which was > placed inside it will not move with it. > Is there any way to permanently anchor text box to the table? > Jack Please have a look at this page:
http://www.phonedialerpro.com/apps.htm Application1 and Application2 uses textboxes. How can I replace them with something else? Thanks, Jack Show quote "Ronx" <ronx***@hotmail.com> wrote in message news:upuHhsVLIHA.4948@TK2MSFTNGP02.phx.gbl... > No. > Text boxes are VML graphics, which use a form of absolute positioning. > The positioning *always* uses the top left corner of the page as the 0,0 > point, which means the VML graphic will always stay in the same spot, no > matter how the rest of the page moves around. > > See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons why > VML should be avoided. > In your case, since you are using the textbox in a table cell, why use the > textbox at all? > > -- > Ron Symonds - Microsoft MVP (FrontPage) > Reply only to group - emails will be deleted unread. > > http://www.rxs-enterprises.org/fp > > > > > "Jack" <replyto@it> wrote in message > news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: > >> Is that possible? >> In design stage when I change the table position the text box which was >> placed inside it will not move with it. >> Is there any way to permanently anchor text box to the table? >> Jack > Those aren't test boxes, they are input boxes.
Totally different item. Remove all of these: from the page and then use the proper positioning tools to position items on the page. -- Steve Easton Microsoft MVP FrontPage FP Cleaner http://www.95isalive.com/fixes/fpclean.htm Hit Me FP http://www.95isalive.com/fixes/HitMeFP.htm Show quote "Jack" <replyto@it> wrote in message news:%23IKYc8VLIHA.4752@TK2MSFTNGP05.phx.gbl... > Please have a look at this page: > http://www.phonedialerpro.com/apps.htm > > Application1 and Application2 uses textboxes. > How can I replace them with something else? > Thanks, > Jack > > "Ronx" <ronx***@hotmail.com> wrote in message news:upuHhsVLIHA.4948@TK2MSFTNGP02.phx.gbl... >> No. >> Text boxes are VML graphics, which use a form of absolute positioning. The positioning *always* uses the >> top left corner of the page as the 0,0 point, which means the VML graphic will always stay in the same >> spot, no matter how the rest of the page moves around. >> >> See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons why VML should be avoided. >> In your case, since you are using the textbox in a table cell, why use the textbox at all? >> >> -- >> Ron Symonds - Microsoft MVP (FrontPage) >> Reply only to group - emails will be deleted unread. >> >> http://www.rxs-enterprises.org/fp >> >> >> >> >> "Jack" <replyto@it> wrote in message news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: >> >>> Is that possible? >>> In design stage when I change the table position the text box which was >>> placed inside it will not move with it. >>> Is there any way to permanently anchor text box to the table? >>> Jack >> > > proper positioning tools ?
What are these? Jack Show quote "Steve Easton" <ad***@95isalive.com> wrote in message news:uJbj2BWLIHA.4948@TK2MSFTNGP02.phx.gbl... > Those aren't test boxes, they are input boxes. > Totally different item. > > Remove all of these: > > from the page and then use the proper positioning tools to position items > on the page. > > > -- > > Steve Easton > Microsoft MVP FrontPage > FP Cleaner > http://www.95isalive.com/fixes/fpclean.htm > Hit Me FP > http://www.95isalive.com/fixes/HitMeFP.htm > > > > "Jack" <replyto@it> wrote in message > news:%23IKYc8VLIHA.4752@TK2MSFTNGP05.phx.gbl... >> Please have a look at this page: >> http://www.phonedialerpro.com/apps.htm >> >> Application1 and Application2 uses textboxes. >> How can I replace them with something else? >> Thanks, >> Jack >> >> "Ronx" <ronx***@hotmail.com> wrote in message >> news:upuHhsVLIHA.4948@TK2MSFTNGP02.phx.gbl... >>> No. >>> Text boxes are VML graphics, which use a form of absolute positioning. >>> The positioning *always* uses the top left corner of the page as the 0,0 >>> point, which means the VML graphic will always stay in the same spot, no >>> matter how the rest of the page moves around. >>> >>> See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons >>> why VML should be avoided. >>> In your case, since you are using the textbox in a table cell, why use >>> the textbox at all? >>> >>> -- >>> Ron Symonds - Microsoft MVP (FrontPage) >>> Reply only to group - emails will be deleted unread. >>> >>> http://www.rxs-enterprises.org/fp >>> >>> >>> >>> >>> "Jack" <replyto@it> wrote in message >>> news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: >>> >>>> Is that possible? >>>> In design stage when I change the table position the text box which was >>>> placed inside it will not move with it. >>>> Is there any way to permanently anchor text box to the table? >>>> Jack >>> >> >> > > Remove the absolute positioning, place the form elements IN the table,
and use alignment and margins to position the form elements in the table cells. For example, in application 1, Change: <tr> <td width="137"> <br> <br> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="3"> <tr> To <tr> <td width="137"> <div align="center"> <center> <p><input type="text" name="T1" size="14" onclick='javascript:doNothing()'></p> <table border="0" cellpadding="0" cellspacing="3"> <tr> And delete <p align="center"><input type="text" name="T1" size="14" onclick='javascript:doNothing()' style="position: absolute; left: 32; top: 176; text-align: Center"> above the table. Positioning with spaces will cause problems since different browsers use different sizes for spaces. -- Ron Symonds - Microsoft MVP (FrontPage) Reply only to group - emails will be deleted unread. http://www.rxs-enterprises.org/fp Show quote "Jack" <replyto@it> wrote in message news:#IKYc8VLIHA.4752@TK2MSFTNGP05.phx.gbl: > Please have a look at this page: > http://www.phonedialerpro.com/apps.htm > > Application1 and Application2 uses textboxes. > How can I replace them with something else? > Thanks, > Jack > > "Ronx" <ronx***@hotmail.com> wrote in message > news:upuHhsVLIHA.4948@TK2MSFTNGP02.phx.gbl... > > No. > > Text boxes are VML graphics, which use a form of absolute positioning. > > The positioning *always* uses the top left corner of the page as the 0,0 > > point, which means the VML graphic will always stay in the same spot, no > > matter how the rest of the page moves around. > > > > See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons why > > VML should be avoided. > > In your case, since you are using the textbox in a table cell, why use the > > textbox at all? > > > > -- > > Ron Symonds - Microsoft MVP (FrontPage) > > Reply only to group - emails will be deleted unread. > > > > http://www.rxs-enterprises.org/fp > > > > > > > > > > "Jack" <replyto@it> wrote in message > > news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: > > > >> Is that possible? > >> In design stage when I change the table position the text box which was > >> placed inside it will not move with it. > >> Is there any way to permanently anchor text box to the table? > >> Jack > > Thank you very much, Ronx.
Your reply is just what I needed. Jack Show quote "Ronx" <ronx***@hotmail.com> wrote in message news:%23tHmzobLIHA.4272@TK2MSFTNGP05.phx.gbl... > Remove the absolute positioning, place the form elements IN the table, and > use alignment and margins to position the form elements in the table > cells. > > For example, in application 1, > Change: > <tr> > <td width="137"> > <br> > <br> > <div align="center"> > <center> > <table border="0" cellpadding="0" cellspacing="3"> > <tr> > > To > > <tr> > <td width="137"> > <div align="center"> > <center> > <p><input type="text" name="T1" size="14" > onclick='javascript:doNothing()'></p> > <table border="0" cellpadding="0" cellspacing="3"> > <tr> > > And delete > <p align="center"><input type="text" name="T1" size="14" > onclick='javascript:doNothing()' style="position: absolute; left: 32; top: > 176; text-align: Center"> above the > table. > > Positioning with spaces will cause problems since different browsers use > different sizes for spaces. > -- > Ron Symonds - Microsoft MVP (FrontPage) > Reply only to group - emails will be deleted unread. > > http://www.rxs-enterprises.org/fp > > > > > "Jack" <replyto@it> wrote in message > news:#IKYc8VLIHA.4752@TK2MSFTNGP05.phx.gbl: > >> Please have a look at this page: >> http://www.phonedialerpro.com/apps.htm >> >> Application1 and Application2 uses textboxes. >> How can I replace them with something else? >> Thanks, >> Jack >> >> "Ronx" <ronx***@hotmail.com> wrote in message >> news:upuHhsVLIHA.4948@TK2MSFTNGP02.phx.gbl... >> > No. >> > Text boxes are VML graphics, which use a form of absolute positioning. >> > The positioning *always* uses the top left corner of the page as the >> > 0,0 >> > point, which means the VML graphic will always stay in the same spot, >> > no >> > matter how the rest of the page moves around. >> > >> > See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons >> > why >> > VML should be avoided. >> > In your case, since you are using the textbox in a table cell, why use >> > the >> > textbox at all? >> > >> > -- >> > Ron Symonds - Microsoft MVP (FrontPage) >> > Reply only to group - emails will be deleted unread. >> > >> > http://www.rxs-enterprises.org/fp >> > >> > >> > >> > >> > "Jack" <replyto@it> wrote in message >> > news:ubXxniVLIHA.748@TK2MSFTNGP04.phx.gbl: >> > >> >> Is that possible? >> >> In design stage when I change the table position the text box which >> >> was >> >> placed inside it will not move with it. >> >> Is there any way to permanently anchor text box to the table? >> >> Jack >> > > |
|||||||||||||||||||||||