Problem with IE when using display:block for links

前端 未结 7 1867
半阙折子戏
半阙折子戏 2021-02-07 15:50

This is my HTML:

Link 1 Link 2 Link 3 <
7条回答
  •  走了就别回头了
    2021-02-07 16:29

    Setting the background color to #FFF and an opacity of 0 worked for me in IE9, Chrome and Firefox. Don't know about other versions though. Setting it to transparent didn't help me.

    This has the advantage of being pure CSS and cross-browser, so maybe it could be a better alternative.

提交回复
热议问题