Html 如何移动a+;在IE9的div框中安装1个google插件
你好,我的网页在这里。我在网站顶部的社交媒体分区栏中有一个谷歌plus-one插件,在IE9中它只显示了plus-one的一半。我想知道如何将它向上移动到div中,以便显示整个插件。这是我的HTML:Html 如何移动a+;在IE9的div框中安装1个google插件,html,css,internet-explorer,google-plus,Html,Css,Internet Explorer,Google Plus,你好,我的网页在这里。我在网站顶部的社交媒体分区栏中有一个谷歌plus-one插件,在IE9中它只显示了plus-one的一半。我想知道如何将它向上移动到div中,以便显示整个插件。这是我的HTML: <!doctype html> <head> <title>The Totem Pole News</title> <meta name="description" content=" A totem p
<!doctype html>
<head>
<title>The Totem Pole News</title>
<meta name="description" content=" A totem pole themed news website posting articles on music, movies, video games, mobile applications, and news.">
<link href="thecss.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script>
! function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + '://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js, fjs);
}
}(document, 'script', 'twitter-wjs');
</script>
</head>
<body>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div id="socialmediaplugins">
<div id="facebook">
<div class="fb-like" data-href="http://www.thetotempole.ca" data-width="The pixel width of the plugin" data-height="The pixel height of the plugin" data-colorscheme="light" data-layout="standard" data-action="like" data-show-faces="true" data-send="false"></div>
</div>
<div id="twitter"><a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
</div>
<g:plusone></g:plusone>
</div>
<div id="container">
<div id="contentbox" align="Center">
<div id="banner" align="Center"></div>
<div id="navbar">
<a href="#">Home</a>
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
<a href="#">Link 3</a>
</div>
<div id="navbar2">
<a href="#">Home</a>
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
<a href="#">Link 3</a>
</div>
<!-- This is the end of the contentbox -->
</div>
<!-- This is the end of the container div -->
</div>
</body>
</html>
谢谢 您应该尝试使用IE8兼容性设置强制页面呈现,因为这与Google+更兼容。将以下内容添加到
块中的元标记,以向IE发出信号,表明它应使用IE8标准进行渲染:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
这里还有一个相关问题:
<meta http-equiv="X-UA-Compatible" content="IE=8" />