Remove border from buttons

后端 未结 10 1418
囚心锁ツ
囚心锁ツ 2020-12-02 14:42

I tried to create buttons and insert my own images instead of the standard button images. However, the gray border from the standard buttons still remains, showing on the ou

10条回答
  •  感情败类
    2020-12-02 15:35

    The usual trick is to make the image itself part of a link instead of a button. Then, you bind the "click" event with a custom handler.

    Frameworks like Jquery-UI or Bootstrap does this out of the box. Using one of them may ease a lot the whole application conception by the way.

提交回复
热议问题