Web Design Forum: PayPal button help! - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PayPal button help! PayPal button too big! Rate Topic: -----

#1 User is offline   MWP 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 14-July 11
  • Reputation: 0
  • Gender:Male
  • Location:UK
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 28 July 2011 - 07:28 AM

Please Help!!

I'm currently creating a site in Dreamweaver CS5 and am having problems adding the PayPal buttons. Basically I have downloaded the PayPal extensions for Dreamweaver from www.webassist.com. I have set it all up and it appears to be working so far (the site isn't live yet) apart from the size of the buttons. When I click add to page in the Dreamweaver PayPal Buttons menu, or when I create one in PayPal and copy the code across the button increases in size, quite a bit and becomes a little distorted. Now I'm extremely new to web designing so I'm sure this is probably simple but I can't seem to sort it out!

I've tried giving it a class and changing the width setting etc, but that still didn't work. I even gave it a div and adjusted margins etc and nothing worked.

Has anyone come across this problem before? The html for the button is below;


<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="xxx">
<input type="image" src="https://www.paypalobjects.com/en_GB/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_GB/i/scr/pixel.gif" width="auto" height="1px">
</form>

The bold value text does have a code in it, but I wasn't sure if that was sensitive information for my account so I replaced it with xxx.

Many thanks.
0

#2 User is online   zed 

  • Web Guru
  • Group: Moderators
  • Posts: 4,941
  • Joined: 25-May 10
  • Reputation: 703
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 28 July 2011 - 08:07 AM

have you tried using this? https://www.paypal.c...t-intro-outside
0

#3 User is offline   MWP 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 14-July 11
  • Reputation: 0
  • Gender:Male
  • Location:UK
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 28 July 2011 - 08:57 AM

Yep, I tried creating it through PayPal and through the DW extension.

A screenshot;

Attached File  Untitled.jpg (54.28K)
Number of downloads: 10

EDIT:sorry about the size of screen shot. Will re-adjust later when I have time.

This post has been edited by MWP: 28 July 2011 - 08:58 AM

0

#4 User is online   zed 

  • Web Guru
  • Group: Moderators
  • Posts: 4,941
  • Joined: 25-May 10
  • Reputation: 703
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 28 July 2011 - 09:08 AM

okay, looks fine in IE8 and you're using IE7? If I put IE8 to IE7 mode I see the same as you.

You're probably going to need an IE7.css and remove the width:260px from INPUT
1

#5 User is online   zed 

  • Web Guru
  • Group: Moderators
  • Posts: 4,941
  • Joined: 25-May 10
  • Reputation: 703
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 28 July 2011 - 09:13 AM

in fact maybe just try removing the width from INPUT anyway.
1

#6 User is offline   MWP 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 14-July 11
  • Reputation: 0
  • Gender:Male
  • Location:UK
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 28 July 2011 - 12:53 PM

Ok. Do you mean it looks Like a small button in IE8? And I'm assuming that's Internet explorer?

I viewed it in Chrome, but didn't think to check the other browsers as it looks wrong in the DW live view as well, and now that I've typed that I remember on the tutorials I have that the live view might sometimes look wrong but on the Internet it will look fine?

Reference removing the width:260px from INPUT is that in the IE7.css or in the .css I have now? Even as I type I'm cringing at that question as it is probably a really simple one!! Lol.

I'll have a look at that tonight anyway as I've only been doing this for a few days so have no idea about IE7.css!

Thanks for your time so far, really appreciate it.
0

#7 User is offline   MWP 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 14-July 11
  • Reputation: 0
  • Gender:Male
  • Location:UK
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 29 July 2011 - 10:45 PM

View Postzed, on 28 July 2011 - 09:13 AM, said:

in fact maybe just try removing the width from INPUT anyway.


Thank you very much. I've figured out what you were talking about and have now resolved the issue. As suggested I removed the width all together from the INPUT on the .css.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users