How can I get my Twitter Bootstrap buttons to right align?

Insert pull-right into the class attribute and let bootstrap arrange the buttons. For Bootstrap 2.3, see: http://getbootstrap.com/2.3.2/components.html#misc > Helper classes > .pull-right. For Bootstrap 3, see: https://getbootstrap.com/docs/3.3/css/#helper-classes > Helper classes. For Bootstrap 4, see: https://getbootstrap.com/docs/4.0/utilities/float/#responsive The pull-right command was removed and replaced with float-right or in general to float-{sm,md,lg,xl}-{left,right,none} For Boostrap 5, see: https://getbootstrap.com/docs/5.0/utilities/float/ The … Read more

Change the color of glyphicons to blue in some- but not at all places using Bootstrap 2

The icon will adopt the color from value of the color css property of it’s parent. You can either add this directly to the style: <span class=”glyphicon glyphicon-user” style=”color:blue”></span> Or you can add it as a class to your icon and then set the font color to it in CSS HTML <span class=”glyphicon glyphicon-search”></span> <span … Read more