Button link doesn't work in Firefox, IE

后端 未结 5 824
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-20 20:51

I have links inside of that work fine in Chrome, but not IE or Firefox. Nothing happens if you click on them. I\'ve messed with the CSS (z-index included), but am out of i

5条回答
  •  一个人的身影
    2020-12-20 21:27

    The HMTL syntax does not allow an a element within a button element, so it is not surprising that it does not work across browsers. There should be no reason to use such a construct, since you can either style a link to look like a button or associate an action with a button, depending on what you wish to accomplish.

提交回复
热议问题