I would like to place my 2 divs(1 in the middle and 1 on the right side). Here's my codes. I am not sure if its right or wrong sorry. I would like to have the same output as the picture.
https://i.stack.imgur.com/OXqpW.png
here's my code
<div class="payment " style="background-color: #370a0c;padding: 1px 0;background-image: url(image/rectangle2.png);background-repeat: no-repeat;background-position: right;background-size: 230px 79px; ">
<div id="payment_row" class="row " style="width: 100%; text-align:center; padding-top: 20px; ">
<div class="col-9 ">
<ul class="payment-list" style="display: flex; margin: auto; ">
<li style="padding-right: 20px; ">
<a href=" "><img src="image/visa.png " alt=" "></img>
</a>
</li>
<li style="padding-right: 20px; ">
<a href=" "></a><img src="image/Mastercard.png " alt=" "></img>
</a>
</li>
<li style="padding-right: 20px; ">
<a href=" "></a><img src="image/amex.png " alt=" "></img>
</a>
</li>
<li style="padding-right: 20px; ">
<a href=" "></a><img src="image/paypal.png " alt=" "></img>
</a>
</li>
<li class="payment-list-2" style="padding-right: 20px; ">
<a href=" "></a><img src="image/discover.png " alt=" "></img>
</a>
</li>
<li class="payment-list-3" style="padding-right: 20px; ">
<a href=" "></a><img src="image/Maestro.png " alt=" "></img>
</a>
</li>
<li class="payment-list-3" style="padding-right: 20px; ">
<a href=" "></a><img src="image/skrill.png " alt=" "></img>
</a>
</li>
</ul>
</div>
<div id="payment" class="col-2 " style="display:flex; ">
<ul style="display: flex; margin-right: 3px; margin-left: -70px;">
<a href=" "></a><img id="player_img" src="image/icon-people.png " alt=" " style="width: 47px;height: 47px;margin-top: -8px;"></img>
</ul>
<ul style="margin-left: -28px;">
<li>
<h1 id="player_num" style="font-size: 35px; line-height: 15px; margin-right: 45px; ">
21,765
</h1>
</li>
<li id="player_count" style="line-height: 15px; margin-right: 15px; margin-left: -30px;margin-top: 11px;">
Online Players
</li>
</ul>
</div>
help me please thank you!