Facebook’s LIKE Button Disalignment Fix on iframe!

Almost in all projects I have to put Facebook’s LIKE, Twitter TWEET and some local buttons around post – in beginning or at the end. And somehow there were alway problems with Facebook’s LIKE button, because it does not align correctly – little bit lower then other buttons in row (inline alignment).

Until now I was just offering client to put Facebook’s like button in new row, and that’s it – problime fixed. But that was just workaround and didn’t fix core of problem. Today facebook’s iframe LIKE button was wixed with simple CSS one line code:

.fb-like{ vertical-align:top;}

It works: tested in Firefox 8.0, Opera 11.52, IE8 and Google Chrome (latest – 16.0.912.36 beta-m)

Leave a Reply

Your email address will not be published. Required fields are marked *