PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Ex82nd
Client


Joined: Apr 18, 2004
Posts: 17

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

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
Ex82nd
Client


Joined: Apr 18, 2004
Posts: 17

PostPosted: Sun Apr 18, 2004 3:53 pm Reply with quote Back to top

thanks
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum