How to assign css to google plus share button in iframe? -
i have problem css of share button. style of google resets css.
iframe:
<iframe src="https://apis.google.com/u/0/_/+1/fastbutton?usegapi=1&size=tall&origin=http%3a%2f%2flocalhost&url=http%3a%2f%2fwww.infomovies.it%2flocale.aspx%3flocale%3d1&gsrc=3p&ic=1&jsh=m%3b%2f_%2fscs%2fapps-static%2f_%2fjs%2fk%3doz.gapi.it.c5yhgizsutg.o%2fm%3d__features__%2fam%3daq%2frt%3dj%2fd%3d1%2fz%3dzcms%2frs%3daitrstnnchyvuyjljlut1guvhr2y24lhpw#_methods=onplusone%2c_ready%2c_close%2c_open%2c_resizeme%2c_renderstart%2concircled%2cdrefresh%2cerefresh%2conload&id=i0_1395148139488&parent=http%3a%2f%2flocalhost&pfname=&rpctoken=39693034"></iframe> this script:
<script> $('iframe').load(function() { $('iframe').contents().find('head').append($('<link/>', { rel: 'stylesheet', href: '/css/masterblaster.css', type: 'text/css' })); }); </script>
you can't edit css (or else) within iframe.
Comments
Post a Comment