HighDots Forums  

Re: Form Troubles...

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Form Troubles... in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gary White
 
Posts: n/a

Default Re: Form Troubles... - 11-02-2005 , 09:46 AM






On Wed, 2 Nov 2005 13:17:38 +0000 (UTC), "Ken Bruggeman"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
It looks beautiful in design view, and in IE browser (believe it
or not!)

But it cannot possibly work in any browser. You have 12 separate forms
on the page because each of your objects is in separate <form> </form>
tags. It is the inherent margin on the <form> tag that is giving you the
odd spacing.

Fix this by first removing ALL of the <form> and </form> tags from the
existing page. Then change this:

<td height="522" colspan="10" background="images/Contact.jpg"><table
width="666" border="0" align="center" cellpadding="2" cellspacing="2">

To this:

<td height="522" colspan="10" background="images/Contact.jpg">
<form method="post" action="">
<table
width="666" border="0" align="center" cellpadding="2" cellspacing="2">

And change this:

</table></td>
</tr>
<tr>
<td colspan="10" background="images/Footer.jpg" class="style10">

To this:

</table></form></td>
</tr>
<tr>
<td colspan="10" background="images/Footer.jpg" class="style10">

Note that, until you assign something to he form's action attribute, the
form still won't do anything.

Gary


Reply With Quote
  #2  
Old   
Ken Bruggeman
 
Posts: n/a

Default Re: Form Troubles... - 11-02-2005 , 10:35 AM






Thanks Gary for the help. I will make those changes and see if it works better.
I know that I have to add action attributes, this was simply for a layout at
the moment. I too thought it was odd that everytime i entered a text field to
the cell it made a completely new form. Thanks for helping me out with this!

Ken


Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: Form Troubles... - 11-02-2005 , 11:48 AM



On Wed, 2 Nov 2005 15:35:14 +0000 (UTC), "Ken Bruggeman"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
Thanks Gary for the help. I will make those changes and see if it works better.
I know that I have to add action attributes, this was simply for a layout at
the moment. I too thought it was odd that everytime i entered a text field to
the cell it made a completely new form. Thanks for helping me out with this!

You're welcome, Ken. It's usually best to add the <form> tag then,
inside that form, add the table that will hold the form's objects.

Gary


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.