HTML Nugget and PayPal

Found a bug? Tell us!!
Post Reply
michu@abcsystems.ch
Regular
Posts: 5
Joined: Mon Apr 10, 2006 5:35 pm
Contact:

HTML Nugget and PayPal

Post by michu@abcsystems.ch »

hey all.. well this bug sounds strange i know..

i want to add a paypal donate image on my sidebar, as a html nugget plugin. so far so good, i add the paypal html block to my html nugget (i dont use a wysiwyg editor) and save it.. unfortunally the image is zoomed! when i create a empty hrtml document and place it on the web server, it works as i should. "Perform Markup Transformations" is not enabled.. you can see this "bug" on www.neophob.com, on the left sidebar. any hints?

cheers
michu
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Weird one. It's got an inline width and height applied, but they're each 1. I'd remove those and try again. I can't get it to change via the EditCSS plugin. Every other image changes, but not that one.

Sorry.
Judebert
---
Website | Wishlist | PayPal
michu@abcsystems.ch
Regular
Posts: 5
Joined: Mon Apr 10, 2006 5:35 pm
Contact:

Post by michu@abcsystems.ch »

well i contaced paypal again.. i also used the unencrypted version of the paypal button with the same result. the image with w=1 and h=1 seems to be a transparent pixel.. so solution here as well..

thanks anyway!

regards
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The problem is this; the paypal image is not a <img> HTML code, but an "<input type='image'>". In the CSS of your template, all "input" fields have a width of 100% or so; this is usually done so that all input buttons are made the same width like your sidebar; but it also applies toy our paypal butotn.

Solution: Try to use a HTML code for the paypal button that uses an <img> image with a <a href> instead of a <form> element.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
michu@abcsystems.ch
Regular
Posts: 5
Joined: Mon Apr 10, 2006 5:35 pm
Contact:

Post by michu@abcsystems.ch »

hey garvin.. thanks! i actually used a cheap solution:

<br />
<div align="center">
<table width="99" rules=all>
<tr>
<td>
....

works like a charm! thanks
Post Reply