Bootstrap 3 - Label Width

by Kyle Mitofsky

HTML

<link rel="stylesheet" href="http://getbootstrap.com/dist/css/bootstrap.css">
<script src="http://getbootstrap.com/dist/js/bootstrap.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<div class="form-group">
    <label class="control-label">
        Last name Nested: 
        <input type="text" class="form-control"
               required="" maxlength="50" />
    </label>
</div>

<div class="form-group">
    <label class="control-label" for="lastName">
        Last name Normal:
    </label>
    <input type="text" class="form-control" id="lastName"
               required="" maxlength="50" />
</div>








<!-- Post Info -->
<div style='position:fixed;bottom:0;left:0;    
            background:lightgray;width:100%;'>
    Find documentation: <a href='http://getbootstrap.com/css/'>Get Bootstrap 3</a><br/>
    Fork This Skeleton Here: <a href='http://jsfiddle.net/KyleMit/kcpma/'>Bootstrap 3 Skeleton</a><br/>
<div>

CSS

.form-group > label {
    width: 100%;
}