Welcome to WebmasterWorld Guest from 50.19.34.234

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver and forms

table problems when adding form script

     

wndyw1

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

10+ Year Member



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!

nvision

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

10+ Year Member



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

skipfactor

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

WebmasterWorld Senior Member 10+ Year Member



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

wndyw1

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

10+ Year Member



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.

Thanks!

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

skipfactor

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

WebmasterWorld Senior Member 10+ Year Member



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.

wndyw1

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

10+ Year Member



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.

nvision

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

10+ Year Member



(check your sticky wndyw1)

:: nvision

wndyw1

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

10+ Year Member



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?

skipfactor

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

WebmasterWorld Senior Member 10+ Year Member



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. ;)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month