mercredi 2 mars 2016

Move element in a button tag

I have this piece of code:

<div style="float: right">       
<button type="button" class="btn btn-link colorGrey " ng-click="ViewFactory.ShowView('WelcomepageModule')" ng-show="({IsActive: true, IsVisible: true, IsMandatory: true}).IsVisible" ng-disabled="!({IsActive: true, IsVisible: true, IsMandatory: true}).IsActive" ng-required="({IsActive: true, IsVisible: true, IsMandatory: true}).IsMandatory" required="required" style="font-size: 1.5em;">     
        <span class="fa fa-times" style="margin-right: 2px"></span> Close                                 
</button>
</div>

I want to align the font awesome image with the center of the word "Close". How can I do it ?




Aucun commentaire:

Enregistrer un commentaire