I like the look of the pagination hyperlinks in Twitter Bootstrap, but in my case they have to be button type=”submit”.
Is there a way to style buttons using the pagination look?
I like the look of the pagination hyperlinks in Twitter Bootstrap, but in my case they have to be button type=”submit”.
Is there a way to style buttons using the pagination look?
2
Answers
You can use the classes
btn
andbtn-default
, and the button will look like almost the same as the pagination links, except for the color, which you can change with a class.Check this jsfiddle for an example.
EDIT:
You can use a wrapper with
class="btn-group"
if you have several buttons. Like thisYou should be able to turn the html tags into buttons using the “btn-toolbar” and “btn-group” tags like so:
That is the closest you will get to use pagination and buttons on a .Net application.