i'm trying to build a new website and I'm pretty new to HTML CSS and etc.. so i'm getting some help from Bootstrap , but right now I've encountered some problem . The language of the website I'm making right now is Hebrew , and when i open a modal in Bootstrap i can't seem to change the X's position to the left side.
I've already tried giving it a float of left , and tried to inline style it , but it doesn't seem to work .
<!-- Sign In Button -->
<div class="container buttons">
<a class="btn btn-light download " data-toggle="modal" data-target="#Sign-In-Modal">התחברו</a>
<!-- Sign In Button Modal -->
<div class="modal fade" id="Sign-In-Modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">התחברות</h5>
<button type="button" class="close pull-left" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body" style="text-align: right;">
.הכנס שם משתמש וסיסמא בכדי להתחבר
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" style="float: left;" data-dismiss="modal">סגור</button>
<button type="button" class="btn btn-light" style="background-color: #e3f2fd; float: left;">התחבר</button>
</div>
</div>
</div>
</div>
I expect the Modal Title to be on the right side while the X is on the left side of the window . I would love some help .