html - Center between two 's -
html - Center <span> between two <button>'s -
i working bootstrap v3 , trying center <span class="badge">1</span>
between 2 buttons, 1 of uses pull-right
class.
the exact html looks follows:
<button type="button" class="btn btn-success">decient</button> <span class="badge">10</span> <button type="button" class="pull-right btn btn-danger">garbage</button>
however results in following:
i have 10 centered have not been successful. have tried pagination-centered
, text-center
and custom css no avail. provide additional context, in caption
div of thumbnail
.
the next provides basic scenario of situation: http://jsfiddle.net/vva78/1/
it bootstrap
, utilize text-center
on house-container
div , pull-left
on btn-success
.
jsfiddle
to center vertically add together margin-top
.
jsfiddle
of course of study not follow illustration , don't set margin-top
entire .badge
class.
html css twitter-bootstrap twitter-bootstrap-3 centering
Comments
Post a Comment