CSS "inline-block" value not working with images : <p>With the "inline-block" value in CSS3, I am trying to align images into the center but it isn't aligning!</p>

<p>I have tried using the "block" value as well but it still doesn't work. Is it my PC? Is it the browser?</p>

<pre><code>.link-images-js{
    display: inline-block;
    text-align: center;
}
</code></pre>

<p>With Visual Studio Code it doesn't detect anything wrong, same with NP++ and Sublime Text 3. With the "inline-block" value, it has worked once but after that it hasn't worked. Does anyone have any idea what the problem is?</p>
