Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image With PayPal Button Float Issue

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44405
    MBM
    Participant

    Before adding code for PayPal buttons I have two rows with 3 images on each row. I’ve added PayPal button code and put it in a container to position it but only the first button floats under the image, the rest are a mess. I have tried clearing the divs and playing around with positioning. The code validates.

    shoes



    Sizes





    div.row1 {margin-left:260px;}
    div.row2 {margin-left:260px;}

    div.ppal {
    float:left;
    margin-top:-40px;
    margin-left:10px;
    }

    http://mbmitservices.co.uk/pcommerce/index.html

    #133402
    Paulie_D
    Member

    What is it supposed to look like?

    Oh….and do you have to use a table?…I suspect that is the problem.

    #133416
    MBM
    Participant

    Yes the problem is the table but it’s PayPal generated code so I can’t edit it. I’ve removed a border tag for validation purposes but don’t want to mess about with the table code. After a lot of fiddling about I have got it working. I’m not sure if the way I’ve done it is good practice.

    shoes


    Please Select Size




    div.row1 {margin-left:260px;}

    div.ppal {
    float:left;
    margin-left:-260px;
    margin-top:340px;
    margin-bottom:20px;
    }

    ![Alt text](http://mbmitservices.co.uk/pcommerce/images/screenshot.png “PayPal ecommerce template”)

    #133566
    daffy58
    Participant

    I made an example from Codepen http://codepen.io/anon/pen/jhFwp
    Is it like what you have wanted?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.