mas*_*don 2 css facebook coding-style
我现在已经挣扎了一段时间而没有任何成功.使用jquery设置样式不起作用,与facebook iframe之后相同.有没有办法执行此任务?
<iframe src="http://www.facebook.com/plugins/like.php?&href=http%3A%2F%2Fwww.example.com&layout=standard&show_faces=false&width=400&action=like&font=tahoma&colorscheme=light&height=23"
scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:23px;" allowTransparency="false"></iframe>
<style>
.connect_widget_not_connected_text, .connect_widget_connected_text {
color:white;
}
.connect_widget_connected_text a {
color:#3B5998;
}
</style>
<script type="text/javascript">
$(function() {
$('.connect_widget_not_connected_text').css('color', 'white');
});
</script>
Run Code Online (Sandbox Code Playgroud)
我确信你可以找出一个CSS技巧来设置按钮的样式,但是这样做违反了facebook的服务条款.您需要以其官方样式之一显示类似按钮.