...

View Full Version : CSS div problems with form action code



WebLizzard
10-24-2009, 06:22 PM
Hello,

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:

<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 of my site before placing that "buy now" form button action code:
http://www.screaminglizzardproductions.com/test/before.JPG
And here is the shot after placing that form action code:
http://www.screaminglizzardproductions.com/test/after.JPG
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.

abduraooft
10-24-2009, 06:32 PM
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. Don't trust DW's design view. It's not a browser, so it can't render your document well, like a standard browser.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum