1.问题:IE8 marquee内容显示不全问题处理
解决方案:在页面head中加入以下语句,
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
2.问题:内容显示成多行,并贴着页面项部显示。
解决方案:设置高度和padding-top的值,具体如下,
<marquee style="height:40px;padding-top:10px;"></marquee>
博客主要解决了IE8中marquee的两个问题。一是内容显示不全,可在页面head中加入<meta http-equiv=\X-UA-Compatible\ content=\IE=EmulateIE7\ />;二是内容多行显示且贴顶部,可设置高度和padding - top值,如<marquee style=\height:40px;padding-top:10px;\></marquee>。
1.问题:IE8 marquee内容显示不全问题处理
解决方案:在页面head中加入以下语句,
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
2.问题:内容显示成多行,并贴着页面项部显示。
解决方案:设置高度和padding-top的值,具体如下,
<marquee style="height:40px;padding-top:10px;"></marquee>
转载于:https://www.cnblogs.com/jacktang/articles/2972547.html
907
1万+

被折叠的 条评论
为什么被折叠?