Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
10-24-2009, 05:22 PM #1
- Join Date
- Aug 2009
- Thanked 0 Times in 0 Posts
CSS div problems with form action code
I'm having issues with using "Buy Now" Paypal buttons in Dreamweaver for my website. I have 3 that I just put up on a website. http://www.gravitybridgerecords.com It looks OK online right now, but when I view the form code into Dreamweaver, it looks like my div tags get confused. Everything seems to shift and pile up on one another vertically. It completely screws up my div tags.
Here is a screen shot of what happens when I put the following Paypal code into my site.
Here is the form code I am placing in my site:Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="8717294"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
And here is the shot after placing that form action code:
As you can see, when the form action code is placed on my site, my content gets all messed up. My top horizontal nav bar gets stretched and my content piles up in a vertical line. It's as if my div tag disappears or something. Perhaps my div tags are not right... my CSS can be found at: http://www.gravitybridgerecords.com/gravity.css
Any help would be greatly appreciated! I have been trying to figure this out for over a week now. Thank you so much... I am so blessed to have found this forum.
Last edited by WebLizzard; 10-24-2009 at 05:24 PM.
10-24-2009, 05:32 PM #2
- Join Date
- Mar 2007
- Thanked 2,223 Times in 2,210 Posts
- Blog Entries
Don't trust DW's design view. It's not a browser, so it can't render your document well, like a standard browser.It looks OK online right now, but when I view the form code into Dreamweaver, it looks like my div tags get confused. Everything seems to shift and pile up on one another vertically. It completely screws up my div tags.
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)