Tuesday, December 18, 2012

Disable HTML Link


You can use below code to disable a link button.

<a href="mypage.html" class="disable">HTML link</a>


CSS class
 .disable { pointer-events: none; cursor: default; }

You can change the cursor as you prefer.

No comments:
Write comments
Recommended Posts × +