Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anchor tag not displayed as button using twitter bootstrap

I'm using twitter bootstrap 3.0 and trying to display an anchor tag as a button using

<a href="#" class="btn">Add button</a>

But it is not showing as a button

enter image description here

When I use

<button class="btn"> Add button</button>

it is displayed as expected

enter image description here

like image 371
Andre Lombaard Avatar asked Oct 11 '13 13:10

Andre Lombaard


1 Answers

   <a href="#" class="btn btn-default">Add button</a>

add btn-default

like image 108
Zeeba Avatar answered Nov 10 '22 17:11

Zeeba