Form is moving content on page

D

Drew

Hello everyone,
I am currently working on a page and added a simple sign
in form (User Name, and Password) anyway Im using tables
and it is in the same row as some picture links and
wheneve I add the submit button it adds about 15 pixels
to the bottom but only in the Preview mode does it change
not in Normal. I didnt see anything wrong with the code
and I cannot figure this out. Im running FP 2002.
Thanks Everyone
 
J

Jim Buyens

-----Original Message-----
Hello everyone,
Howdy.

I am currently working on a page and added a simple sign
in form (User Name, and Password) anyway Im using tables
and it is in the same row as some picture links and
wheneve I add the submit button it adds about 15 pixels
to the bottom but only in the Preview mode does it change
not in Normal. I didnt see anything wrong with the code
and I cannot figure this out. Im running FP 2002.
Thanks Everyone

Try adding style="margin:0;" to your <form> tag.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
S

Stefan B Rusynko

1) that's illegal html (a table can not contain anything but table block tags)
2) and it won't prevent the "line break" build into the block level form tag

The valid approach is for proper block level nesting is
<form ....><table><tr>the rest of your TD tags and content</tr></table></form>
or
<table><tr><td><form ....>the rest of your TD tags </form></td></tr></table>




"ShortCutKid" <jbower1974[at]yahoo[dot]com> wrote in message | Try moving the <form> tag in between the <table>and<tr> tags. On the end, put the </form> between the closing </tr> and </table>
tags.
|
| Basically, it will look like
| <table><form ....><tr>the rest of your TD tags and content</tr></form></table>
|
| Give that a try and lemme know if it worked out.
 
Top