skip to Main Content

Vertically align text next to image – Twitter bootstrap

I am trying to vertically align some text next to an image using Twitter Bootstrap 3 <div class="col-sm-4"> <img class="img-circle" src="http://dummyimage.com/100x100/000/fff"> <h2> Short title </h2> </div> <div class="col-sm-4"> <img class="img-circle" src="http://dummyimage.com/100x100/000/fff"> <h2> A longer title </h2> </div> https://jsfiddle.net/DTcHh/23814/ Sometimes my…

VIEW QUESTION

Two input fields in one row – Twitter bootstrap

I am trying to display two registration fields onto the same row using Twitter Bootstrap. <div class="form-group required"> <label class="col-sm-2 control-label" for="input-firstname"><?php echo $entry_firstname; ?></label> <div class="col-sm-10"> <input type="text" name="firstname" value="<?php echo $firstname; ?>" placeholder="<?php echo $entry_firstname; ?>" id="input-firstname" class="form-control"…

VIEW QUESTION
Back To Top
Search