Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Ex82nd
Client


Joined: Apr 18, 2004
Posts: 17

PostPosted: Sun Apr 18, 2004 2:24 pm Reply with quote

Ok nobody laugh.... Embarassed

I put a simple Paypal button on my site within a block. At first I attempted to code this converting the html to php but it kept getting errors. I was finally able to get the button and a message withing the block but now everything is aligned to the left (default I assume).

Anyway, I've spent a ton of time searching forums, Google etc with no luck. How can I align both the dynamic image and the text to "center" withing the block?

Thanks in advance.
 
View user's profile Send private message Send e-mail
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Sun Apr 18, 2004 3:26 pm Reply with quote

Here is my block code. Adjust it for your needs
Code:
<center>If you find my scripts, hacks, and overall help useful, please consider donating to this effort.<br /><br />Thank You!<br /><form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="YOU@YOURDOMAIN.COM">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="/images/paypal-donate.gif" border="0" name="submit">
</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="YOU@YOURDOMAIN.COM">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="/images/visamc-donate.gif" border="0" name="submit"><br /><br />
</form></center><br /> <a href="admin.php"><img width="2" height="2" src="blank.gif" border="0" onMouseOver="window.status=' ';return true;"></a>
 
View user's profile Send private message
Ex82nd
PostPosted: Sun Apr 18, 2004 3:53 pm Reply with quote

thanks
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©