Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2009
    Location
    Maryland
    Posts
    47
    Thanks
    21
    Thanked 0 Times in 0 Posts

    CSS div problems with form action code

    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:
    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 of my site before placing that "buy now" form button action code:

    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.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •