PDA

View Full Version : HTML help pleaseeeeeeee!



Mamba
01-01-2012, 03:08 PM
I know this has nothing to do with the forum, but I wasn't sure where to put this.

I'm working on a website to sell stuffs and need to put the paypal "buy now" buttons on. That's no problem as I used most of the generated code from paypal, but I want to align a load of them to the right (tables)... and I am pulling my hair out here trying to do it. I am working directly in the html editor and it's just eeeeeeffing up constantly.

This is the aligned left normal 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="codehere">
<table>
<tr><td><input type="hidden" name="on0" value="value here">Value here - Spain Buyers - Standard</td></tr><tr><td><select name="os0">
<option value="Standard">Standard €60.00 EUR</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="EUR">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

and here's the right aligned

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input name="cmd" value="_s-xclick" type="hidden" /><input name="hosted_button_id" value="valuehere" type="hidden" />
<table align="right" bgcolor="e2dfa8" border="0" cellpadding="0" cellspacing="4">
<tbody>
<tr>
<td><input name="on0" value="Buyers within Europe" type="hidden" /><font color="#cccccc" face="Georgia">Buyers within Europe</font></td></tr>
<tr>
<td><select name="os0">
<option value="Deluxe">Deluxe €275,00 EUR</option></select> <br />
<input name="currency_code" value="EUR" type="hidden" /><input src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" type="image" border="0" /><img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" border="0" height="1" /> </td></tr></tbody></table>


But it won't align entirely right and the link won't work to go to paypal now ..... I broke it... it's driving me mad!!

Anybody can shed some light on it?

(valuehere and codehere are just me being cautious - they have real values obviously...)

Purrleeeeeeeease?

CrAnIuM
01-01-2012, 03:42 PM
I'll take a look , let ya know soon.

Mamba
01-01-2012, 03:44 PM
I'll take a look , let ya know soon.

Thank you, thank you!

CrAnIuM
01-01-2012, 04:25 PM
Thank you, thank you!

Am back now.

So .. is there more to this?

Mamba
01-01-2012, 04:31 PM
Yeah there's a bunch more code..... but the first being standard aligned left, works fine and the deluxe which needs to go on the right doesn't work.

I have three standards paypal links (all fine) and three deluxes....which don't work at all.

Would it be better if I posted the whole code for you?

CrAnIuM
01-01-2012, 04:32 PM
Would it be better if I posted the whole code for you?

Yup .. send it to me in a PM.