Welcome to WebmasterWorld Guest from 54.162.240.235

Forum Moderators: incrediBILL

Message Too Old, No Replies

Paypal buttons and Firefox

Can't get rid of extra space between buttons

     
10:46 pm on Jan 8, 2008 (gmt 0)

5+ Year Member



I'm having difficulty placing PayPal buttons in tables...

There is an extra space between my Paypal buttons in Firefox in a table.

I found that if I set up my </form> tag this way:
</td></form/></tr>
it works great in Internet Explorer.
but it didn't help me in Firefox.

Any suggestions?

Thanks!

12:44 am on Jan 9, 2008 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Welcome aboard Karey, what you have there is invalid HTML - with the closing </form> between </td> and </tr>. It's an old hack to get forms to play along, but even if it works it's invalid.

What you should try is something like this:

<form class="payPal">
<table><tr><td><img></td></tr></table>
</form>

or

<table><tr><td>
<form class="payPal">
<img>
</form>
</td></tr></table>

Then in a style section at the head of your document or in a style sheet,

.payPal { margin:0; padding:0; }

If it's just the image buttons you can do something like this for the images too, but I have a feeling it's the old extra-space after form default.

10:17 pm on Jan 20, 2008 (gmt 0)

5+ Year Member



Hey, Rocknbil

Your solution worked perfectly. My website guy says that your fix will also work for any forms not just Paypal. We very much appreciate it.
All the best

Thanks, Karey

 

Featured Threads

Hot Threads This Week

Hot Threads This Month