No credit card. Takes under a minute.

Login
INSIGHTS1 MIN READ

How To Center a PayPal Button On A Web Page

RJScot

Published on June 7, 2019

Published on Wealthy Affiliate — a platform for building real online businesses with modern training and AI.

How To Center a PayPal Button On A Web Page

Sometimes there is not an option within the page editor to center an item on the web page. They still work on the left hand side but look odd.

However, there is a simple line of code you can use.

This will work for:

  1. Text
  2. Images
  3. Opt-in Forms
  4. PayPal Buttons

STEP ONE

Select Code View rather than Visual View. In Guthenburg this is via the gog at the top right of the screen.

STEP TWO

Scroll down to where the item code begins. This will look something like:

<form ...>

Ready to put this into action?

Start your free journey today — no credit card required.

XXXXXXXXXXXXXxxxxx

XXXXXXXXXXXXXXX

</form)

Place your curser just above the first line of code and enter the following ....

<div align="center">

<form>

Then scroll down and place your curser just after the last line of code

</form>

</div>

Thats all there is to it.

Put simply the only code you are using is

<div align="center>

</div)

With the item code in between.

Enjoy

Share this insight

This conversation is happening inside the community.

Join free to continue it.

The Internet Changed. Now It Is Time to Build Differently.

If this article resonated, the next step is learning how to apply it. Inside Wealthy Affiliate, we break this down into practical steps you can use to build a real online business.

No credit card. Instant access.

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

Member Login

© 2005-2026 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.