java:howtomakealinklooklikeabutton
Differences
This shows you the differences between two versions of the page.
java:howtomakealinklooklikeabutton [2012/10/06 17:15] – creado rlunaro | java:howtomakealinklooklikeabutton [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== How to make a link look like a button ====== | ||
+ | |||
+ | From time, appears the need of making a link to look like a button. If you search through internet you will see lots of solutions, however, it is surprising that nobody have came across this solution. If you have a link: | ||
+ | |||
+ | <code html> | ||
+ | <a href=" | ||
+ | </ | ||
+ | |||
+ | The corresponding button that does __exactly the same behaviour__ is this: | ||
+ | |||
+ | <code html> | ||
+ | <form method=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | This solution has the advantage that every style you will apply to buttons in general will affect to this (because is a fucking real button, not an styled one). The " | ||
+ | |||