IE7/IE8 位置间距:绝对?

发布于 2024-10-01 18:55:57 字数 192 浏览 1 评论 0原文

请参阅: http://bit.ly/cq4bYF

问题是轮播上的垂直对齐和 < >按钮。 Chrome 和 FireFox 加载准确。 IE7/IE8 元素应该再低 20px。

有人知道解决方案吗?

谢谢你!

See: http://bit.ly/cq4bYF

Problem is the vertical-alignment on the carousel and < > buttons. Chrome and FireFox load accurately. IE7/IE8 the elements should be another 20px lower.

Anyone know a Solution?

Thank You!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

温折酒 2024-10-08 18:55:57

看起来您必须制作一个新的样式表来解决此问题,制作一个新的样式表,并将其放入标题中已有样式表下的条件语句中。然后在新的样式表中放入以下代码。那应该有效。如果您不知道如何创建 IE 样式表,请转到 http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

#header_slider{
z-index:1;
position:absolute;
margin-top:20px;
width:500px;
height:320px;
overflow:hidden;
}

要获取条件语句,请将以下代码放在名为样式表的位置下

<!--[if IE ]>
    <link rel="stylesheet" href="The/url/to/your/new/ie/stylesheet.css" />
<![endif]-->

Looks like you have to make a new style sheet to fix this, make a new stylesheet, and put it in a conditional statement under the stylesheet you already have in your header. Then in the new stylesheet put the following code. That should work. If you can't figure out how to create just an IE stylesheet go to http://css-tricks.com/how-to-create-an-ie-only-stylesheet/

#header_slider{
z-index:1;
position:absolute;
margin-top:20px;
width:500px;
height:320px;
overflow:hidden;
}

To get the Conditional statement put the following code under where you have the stylesheet called

<!--[if IE ]>
    <link rel="stylesheet" href="The/url/to/your/new/ie/stylesheet.css" />
<![endif]-->
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文