Page 1 of 1

HTML Nugget and PayPal

Posted: Mon Apr 10, 2006 5:39 pm
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

Posted: Tue Apr 11, 2006 2:41 am
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.

Posted: Tue Apr 11, 2006 9:11 am
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

Posted: Tue Apr 11, 2006 10:08 am
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

Posted: Tue Apr 11, 2006 10:19 am
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