html - Bootstrap 3 - remove underline from modal-dialog -


i have modal-dialog when hover show underline.

i don't know how fix this, hope can help!

<!-- modal content--> <div class="modal-content">   <div class="modal-header">     <button type="button" class="close" data-dismiss="modal">&times;</button>     <h4 class="modal-title">login</h4>   </div>   <div class="modal-body">     <? include "_inc/widgets/login.php"; ?>   </div>   <div class="modal-footer">     <button type="button" class="btn btn-default" data-dismiss="modal">sluit</button>   </div> </div> 

and have in login.php page

<!-- error box --> <pre class="alert-danger" id="errors" style="display:none;"></pre><!-- end error box -->  <!-- login form --> <form style="display:block;" class="form-group" role="form" id="login" method="post">   <div class="form-group" id="username-group">     <label for="username">gebruikersnaam:</label>     <input type="username" class="form-control" id="login_username">   </div>   <div class="form-group">     <label for="pwd">wachtwoord:</label>     <input type="password" class="form-control" id="login_pwd">   </div>   <div class="checkbox">     <label><input type="checkbox">onthoud mij</label>   </div>   <button type="submit" class="btn btn-default">login</button>   <button style="float:right;" type="button" class="btn btn-info" id="toregister">of schrijf in</button> </form><!-- end login --> 

try adding css in css file.

.modal-content {    text-decoration: none !important; } 

!important should make sure no underline no matter state is.

i think should work.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -