CSS 问题 - Box 上方的链接(位置:绝对)在 IE + Opera 中不起作用 [英] CSS Problem - Link (position:absolute) above a Box not work in IE + Opera

查看:28
本文介绍了CSS 问题 - Box 上方的链接(位置:绝对)在 IE + Opera 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 div-box 底部有一个链接,它有 position:absolute 并且应该覆盖整个 div-box.

I have a link in the bottom of a div-box, which have position:absolute and should overlay the whole div-box.

像这样:http://jsfiddle.net/UpwvT/4/

在 FF 和 Webkit 中它工作正常,但在 IE + Opera 中,某些文本"仍然不是链接且不可点击.

In FF and Webkit it works fine, but in IE + Opera the "some text" is still not a link and not clickable.

有人有什么想法吗?:)thanx

Anybody an idea? :) thanx

推荐答案

看起来像是 Opera 和 IE 中的错误.

It looks like bug in Opera and IE.

有我的 Opera 和 IE9 hack.为 .link
添加这个背景色:rgba(204,204,204,0.01);

There is my hack for Opera and IE9. Add this for .link
background-color: rgba(204,204,204,0.01);

这是非常透明的背景.

http://jsfiddle.net/UpwvT/19/

它在 IE8 中不起作用.

It doesn't work in IE8.

这篇关于CSS 问题 - Box 上方的链接(位置:绝对)在 IE + Opera 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆