Reputation: 2835
i am using following code to create a button
<input type="submit" class="btn btn-warning btn-block" name="send" id="send" value="Send Password" ">
now its text is in center how do i float Send Password to left of button as this is set inside button tag
Upvotes: 1
Views: 40
Reputation: 207861
Bootstrap has it's own text alignment classes, however since you're using button classes on this input, the text-alignment will be overridden. You can however, just create your own rule which is more specific than Bootstrap's rules:
#send {
text-align:left;
}
Upvotes: 2