I have a link in the bottom of a div-box, which have position:absolute and should overlay the whole div-box.
like that: http://jsfiddle.net/UpwvT/4/
In FF and Webkit it works fine, but in IE + Opera the "some text" is still not a link and not clickable.
Anybody an idea? :) thanx
Problem is solved - just add transparent background of link in css - for me work fine with transparent gif file.
It looks like bug in Opera and IE.
There is my hack for Opera and IE9. Add this for
.link
background-color: rgba(204,204,204,0.01);
It is very transparent background.
http://jsfiddle.net/UpwvT/19/
It doesn't work in IE8.
I used the same solution proposed by Pavlin, but using a 1x1px transparent GIF data-url-encoded, this way:
So you avoid an extra http request to the server with very few bytes of increase in the CSS stylesheet. Data-url is supported in IE8+.
http://caniuse.com/datauri
Don't need to add linkbox inside box like this:
And define styles like this:
Working Demo: http://jsfiddle.net/rathoreahsan/cLmqe
how about placing the link tag(a) around the div like so:
EDIT
The folowing should be possible too:
I beleve that should fix it.
Still don't get where this error comes from... Personnally I just put some fully transparent bg there