php - Paypal Item Form Won't Align Center -


hello have setup paypal form on website cannot dropdown menu align in center rest of content.

http://www.christmascakesforcancerresearch.com.au/cakemail.php

here code form. able please advise? have tried <div align="center"> , <center> nothing working.

<form action='https://www.paypal.com/cgi-bin/webscr' method='post' target='_top'>"); echo("<input type='hidden' name='cmd' value='_xclick'>"); echo("<input type='hidden' name='business' value='petjul@iprimus.com.au'>"); echo("<input type='hidden' name='lc' value='aud'>"); echo("<input type='hidden' name='item_name' value='christmas cakes'>"); echo("<input type='hidden' name='button_subtype' value='services'>"); echo("<input type='hidden' name='no_note' value='0'>"); echo("<input type='hidden' name='currency_code' value='aud'>"); echo("<input type='hidden' name='bn' value='pp-buynowbf:btn_buynowcc_lg.gif:nonhostedguest'>"); echo("<table>"); echo("<tr><td><input type='hidden' name='on0' value='cakes'><span style='text-align:center'>purchase order through paypal / credit card</span></td></tr><tr><td><select name='os0' align='center'>"); echo("<span style='text-align:center'><option value='star'>star $15.00 aud</option></span>"); echo("<span style='text-align:center'><option value='log'>log $25.00 aud</option></span>"); echo("<span style='text-align:center'><option value='round'>round $60.00 aud</option></span>"); echo("</select> </td></tr>"); echo("</table>"); echo("<input type='hidden' name='currency_code' value='aud'>"); echo("<input type='hidden' name='option_select0' value='star'>"); echo("<input type='hidden' name='option_amount0' value='15.00'>"); echo("<input type='hidden' name='option_select1' value='log'>"); echo("<input type='hidden' name='option_amount1' value='25.00'>"); echo("<input type='hidden' name='option_select2' value='round'>"); echo("<input type='hidden' name='option_amount2' value='60.00'>"); echo("<input type='hidden' name='option_index' value='0'>"); echo("<input type='image' src='https://www.paypalobjects.com/en_us/i/btn/btn_buynowcc_lg.gif' border='0' name='submit' alt='paypal - safer, easier way pay online!'>"); echo("<img alt='' border='0' src='https://www.paypalobjects.com/en_us/i/scr/pixel.gif' width='1' height='1'>"); echo("</form>"); 

many thanks.

have solved it. missing style in css code. anyway help.

table { display: table; width: 100%; border-collapse: collapse; border-spacing: 0; } th, td { padding: 5px 10px; border: 1px solid #eee; font-weight: 400; text-align: center; } 

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -