Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wallacemarino

    (@wallacemarino)

    Thanks I’ll give that a go.

    Thread Starter wallacemarino

    (@wallacemarino)

    In that case what would be the correct code?

    and no I was referring to the “buy it now” t-shirt image, I’ve never had any problem getting the size list to centre.

    Thanks

    Thread Starter wallacemarino

    (@wallacemarino)

    RESOLVED

    Sorted the centering issue by surrounding the image code a div tag with an align command:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input name="cmd" type="hidden" value="_s-xclick" /> <input name="hosted_button_id" type="hidden" value="QU99P4XYG2RE8" />&nbsp;
    <table>
    <tbody>
    <tr>
    <td style="text-align: center;"><input name="on0" type="hidden" value="Sizes - What's Yours?" />Sizes - What's Yours?</td>
    </tr>
    <tr>
    <td style="text-align: center;"><select name="os0"> <option value="Small">Small </option> <option value="Medium">Medium </option> <option value="Large">Large </option> <option value="X-Large">X-Large </option> <option value="XX-Large">XX-Large </option> </select></td>
    </tr>
    </tbody>
    </table>
    <div align='center'>
    <input alt="PayPal — The safer, easier way to pay online." name="submit" src="http://www.stateofmindrugby.com/cmspages/wp-content/uploads/2012/10/Buy-Tshirt1.png" type="image" /> <img src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" border="-10" alt="" width="1" height="1" align="center" />&nbsp;
    </div>
    </form>
    Thread Starter wallacemarino

    (@wallacemarino)

    Ok so I resolved the issue with the border. All the CSS code examples I had seen on other forums dealt with the border settings, however in the case of my theme it was the padding that was causing the issue so adding this to the custom css fixed it:

    form input {padding:0px;}

    I am still struggling to get the button image to centre though, can you guys help me with that?

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)