This seems really dumb to me, but what are the point of Bootstrap 3's button groups if you can't make them links?
http://getbootstrap.com/components/#btn-groups
We've tried this:
<button type="button" class="btn btn-lg btn-success" href="add.php">
<span class="glyphicon glyphicon-plus"></span> Add
</button>
And...
<button type="button" class="btn btn-lg btn-success">
<a href="add.php"><span class="glyphicon glyphicon-plus"></span> Add</a>
</button>
But neither work as links. What am I not understanding here? Thank you. NJ
You can use the classes in bootstrap to change the a
tag.
<div class="btn-group" role="group" aria-label="...">
<a href="" class="btn btn-default">Left</a>
<a href="" class="btn btn-default">Middle</a>
<a href="" class="btn btn-default">Right</a>
</div>
<a href="add.php" class="btn btn-lg btn-success">
<span class="glyphicon glyphicon-plus"></span> Add
</a
See the example here - http://www.bootply.com/v8anIQZU97
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With