How do I make an html link look like a button?

后端 未结 22 1060
执笔经年
执笔经年 2020-11-22 14:03

I\'m using ASP.NET, some of my buttons just do redirects. I\'d rather they were ordinary links, but I don\'t want my users to notice much difference in the appearance. I c

22条回答
  •  日久生厌
    2020-11-22 14:55

    How about using asp:LinkButton?

    You can do that - I made a linkbutton look like a standard button, using TStamper's entry. Underlining showed under the text when I hovered, though, in spite of the text-decoration: none setting.

    I was able to stop the hover-underlining by adding style="text-decoration: none" within the linkbutton:

    
    

提交回复
热议问题