How to bind text box to the table?

J

Jack

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
 
J

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
 
R

Ronx

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?
 
S

Steve Easton

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
 
J

Jack

proper positioning tools ?
What are these?
Jack

Steve Easton said:
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
 
R

Ronx

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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top