homepage Welcome to WebmasterWorld Guest from 54.196.225.45
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
Paypal buttons and Firefox
Can't get rid of extra space between buttons
Karey




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

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!

 

rocknbil




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

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.

Karey




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved