I have used below code
This is my Iframe:
<iframe scrolling='no' frameborder='1' id='fblike' src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.XYZ.com%2F&send=false&layout=standard&width=450&show_faces=true&font&colorscheme=light&action=like&height=50'></iframe>
$('#fblike').contents().find('.pluginButton').css({'background','#FF8000'});
I have also applied Css directly
.pluginButton {
background: none repeat scroll 0 0 #FF8000 !important;
}
Still it is not working.I want to change pluginButton’s background.I want to apply image to its background.How to apply?
If I understand you correctly, then what you want to do is inject CSS into the iframe which loads a Facebook page.
The short answer is that it is not possible. Here is an answer posted on SO with a more detailed explanation: Can I apply CSS to the elements within an iframe?
Here is another explanation from: How to apply CSS to iframe?