我试图将我的div和一些注释放在屏幕的bottom right位置,它们将一直显示.
为此,我使用了以下CSS:
#foo
{
position: fixed;
bottom: 0;
right: 0;
}
它在Chrome3和Firefox3.6上运行良好,但IE8糟糕透了……
有什么合适的解决方案呢?
我试图将我的div和一些注释放在屏幕的bottom right位置,它们将一直显示.
为此,我使用了以下CSS:
#foo
{
position: fixed;
bottom: 0;
right: 0;
}
它在Chrome3和Firefox3.6上运行良好,但IE8糟糕透了……
有什么合适的解决方案呢?
这段代码至少在IE7中有效
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Test</title>
<style>
#foo {
position: fixed;
bottom: 0;
right: 0;
}
</style>
</head>
<body>
<div id="foo">Hello World</div>
</body>
</html>