homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Dreamweaver and forms
table problems when adding form script

 6:50 pm on Nov 19, 2003 (gmt 0)

I just learning forms and how it reacts with my tables. I am trying to add a paypal button to my table and when I insert the form code into my page code, it stretches my cell. When I preview my page in IE, of course, the hidden fields are not there, but the cell is still leaving room for them. Is there anyway that I can shrink my cell, so that only my image fits in?

I admit I know very little about HTML, only very basics, but does Dreamweaver stretch the cell because of the code? Just trying to understand the technical aspects of it. If anyone could help, I would thoroughly appreciate it. Thanks!



 6:59 pm on Nov 19, 2003 (gmt 0)

Hi wndyw1, and welcome to WebmasterWorld.

Have you tried setting your table width to specific pixel amounts? You can also define text box/field sizes by pixel or characters.

Sticky me a sample url if you want and I'll have a look.

:: nvision


 6:59 pm on Nov 19, 2003 (gmt 0)

Insert a new 1 row, 1 column table into the cell, define the width & height in pixels, then insert your PayPal button/form.


 7:19 pm on Nov 19, 2003 (gmt 0)

Hi nvision,

My URL for this "problem" page is "www.widgets.com". I have specified the exact measurement for the cell, but it tells me something like "You will not be able to make smaller"(?) . . . something like that. What it's doing in design mode is leaving space for the six hidden fields.


[edited by: caine at 7:35 pm (utc) on Nov. 19, 2003]
[edit reason] specific use of url - against TOS [/edit]


 7:32 pm on Nov 19, 2003 (gmt 0)

Delete your existing form.
"Cut" your entire table.
Insert a new form.
Paste your entire table into this form then you can stash your hidden fields elsewhere.


 7:32 pm on Nov 19, 2003 (gmt 0)

Hi Skipfactor,

I tried this before. My problem is that I pretty much create the page in Photoshop and then slice it in Imageready and basically all I do in dreamweaver is upload it. So, my entire page is basically a table of images. Adding another table, still stretches my cell to give room for the hidden fields.


 8:06 pm on Nov 19, 2003 (gmt 0)

(check your sticky wndyw1)

:: nvision


 8:17 pm on Nov 19, 2003 (gmt 0)

Putting the form first and then pasting the table into the form worked great.

Now, I ask meekly, is there any way add more than one form on the one page, such as more than one pay pal button on this one page. Since pasting the table into the form worked so great, I attempted to create another form inside the first form and then paste then table into this second form. Of course, it didn't work, because the form action is the same for both. Can I rename one of the form actions or since this came from pay pal will this mess up the form?


 8:42 pm on Nov 19, 2003 (gmt 0)

I'm sorry, I just glanced at your URL & assumed you only needed 1 button/form. I'm no forms guru, but I don't think doing a form in a form is possible.

You're either going to have to get your hands dirty in DW tables & forms or create individual product destination pages.

I think the latter would sell better anyway. Take them to a different page for buying 12 photos and use that page to show & tell them why buying 12 is better than 6, etc.

Look for any excuse to get more pages online; optimize each page for a different keyphrase; use your best ranking keyphrase for your most expensive offering. ;)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved