How to center a Paypal button in IE8

Posted by Barry on Stack Overflow See other posts from Stack Overflow or by Barry
Published on 2010-03-17T21:21:53Z Indexed on 2010/03/17 21:31 UTC
Read the original article Hit count: 327

Filed under:

On one of my pages, http://artistsatlaketahoe.com/abstract.html , the Paypal buttons appear centered beneath text in FireFox and Chrome, but not in IE8. I got the centering to work in FF and Chrome by adding the following within the Paypal code snippet relating the Add to Cart image:

style="display: block; margin: 0 auto;"

Unfortunately, it isn't working in IE8. Any suggestions? Thanks!!

© Stack Overflow or respective owner

Related posts about css-positioning