Inserting form inside table cell

S

StuJol

i have a table made up of several cells. i have to insert a form inside
certain cells as i have a 'buy it now' button inside the cell. it needs to be
a form inside a cell.

the problem is when i insert the form, the cell height is increased as it
sems to split the cell into 2 rows, 1 row for the form and the other row was
the orignal cell. i cant find any way to make the height of the combined new
cells to the original height. any ideas anyone please?
 
D

David Berry

The easiest way is to insert the form on a blank page and set it up the way
you want. Then switch to Code View and copy and paste everything from the
<form> tag to the </form> tag. Then, on the page where you want the form
put xxx (or something) in the cell so you know where it goes. Switch to
Code View, find those place marks (ex: xxx) highlight them and paste in the
form code.
 
S

StuJol

Thanks for the reply. thisi snt the problem. if you try your method, you will
see that the cell that has the form inside increases in height. i need to
reduce this height back to the original size.
 
D

David Berry

What size do you want it and what size does it make it after you add the
form? What's the URL so we can take a look? If the problem is that the
text boxes are too high or too wide you can use CSS to control their sizes -
make them smaller/thinner to take up less space. You can also put the
<form> and </form> tags outside of the cell so all that's in the cell are
the form elements. That will reduce size
 
S

Stefan B Rusynko

A Html Form has an implicit line feed at the end of it
To remove it add a style in the form tag to set margins to 0
<form style="margin:0px;" .....rest of form tag attributes here...>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Thanks for the reply. thisi snt the problem. if you try your method, you will
| see that the cell that has the form inside increases in height. i need to
| reduce this height back to the original size.
|
| "David Berry" wrote:
|
| > The easiest way is to insert the form on a blank page and set it up the way
| > you want. Then switch to Code View and copy and paste everything from the
| > <form> tag to the </form> tag. Then, on the page where you want the form
| > put xxx (or something) in the cell so you know where it goes. Switch to
| > Code View, find those place marks (ex: xxx) highlight them and paste in the
| > form code.
| >
| > --
| > David Berry
| > Microsoft MVP - FrontPage
| > FrontPage Support: http://www.frontpagemvps.com/
| > -----------------------------------
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > -----------------------------------
| >
| >
| > | > >i have a table made up of several cells. i have to insert a form inside
| > > certain cells as i have a 'buy it now' button inside the cell. it needs to
| > > be
| > > a form inside a cell.
| > >
| > > the problem is when i insert the form, the cell height is increased as it
| > > sems to split the cell into 2 rows, 1 row for the form and the other row
| > > was
| > > the orignal cell. i cant find any way to make the height of the combined
| > > new
| > > cells to the original height. any ideas anyone please?
| > >
| > >
| >
 
Top