My column displays images aligned in the center when viewed locally, but the alignment changes when hosted remotely.
Here is the image when locally hosted:
https://i.sstatic.net/I56Dg.png
And here is the remote host image:
https://i.sstatic.net/ePoAn.png
This is the code snippet I have attempted:
<div class="col-lg-3 col-md-12 px-sm-0 px-4 w3_agile-footer1 f3 powered">
<h5 class="mb-3">Powered By</h5>
<ul class="tweet-agile" style="list-style: none; text-align: center;">
<li>
<img class="vivox" src="rummy_den\payment\vivox.jpeg" alt="">
</li>
<li>
<img class="secure" src="rummy_den\payment\secure.jpeg" alt="">
</li>
</ul>
</div>
This is the relevant CSS code section:
ul.tweet-agile span.fab {
width: 25px;
color: pink;
padding-left: 0;
}
.tweet-agile {
height: 100px;
width: 100px;
margin-bottom: 10px;
margin-left: 12px;
}
@media (min-width:425px) {
.tweet-agile {
margin-left: 63px !important;
}
}
@media (min-width:375px) and (max-width:425px) {
.tweet-agile {
margin-left: 75px !important;
}
}
What could be causing this issue?
Update: The alignment is perfect on desktop view with the correct dimensions as shown in the image below:
https://i.sstatic.net/VvyhZ.png
However, on mobile view, the alignment is not as expected, as shown in the following image: