我的共享按钮的CSS有问题。谷歌的风格重置我的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>
这是我的剧本:
<script>
$('iframe').load(function() {
$('iframe').contents().find('head').append($('<link/>', { rel: 'stylesheet', href: '/css/masterBlaster.css', type: 'text/css' }));
});
</script>
答案 0 :(得分:0)
您无法在iframe中编辑css(或其他任何内容)。