IE: Only part of an anchor is clickable

后端 未结 5 515
生来不讨喜
生来不讨喜 2021-02-05 18:06

I want to have an anchor with a specific height and width.

There is no text on it since it\'s meant to be put in front of a certain area of the page.

Here is the

5条回答
  •  不思量自难忘°
    2021-02-05 19:03

    another way of handling this issue is a little "hack/workaround", when the block element got a background-color everything is fine, as you aspect it. make use of something like this:

    a {
      ..
      background-color: white;
      opacity: 0;
      filter: alpha(opacity=0);
      ..
    }
    

提交回复
热议问题