After extensive searching on Google and Stack Overflow, I am still struggling to resolve this particular issue.
The frustration is growing exponentially, and it's starting to drive me a little insane!
The problem lies within my menu structure, which consists of multiple blocks created using divs with display: inline-block property.
I've experimented with float:left as well, but the main requirement is to have all blocks centered on the screen, which seems unachievable with this method.
Although the inline-block approach adapts well to different screen sizes by creating additional rows, there is always a 2-pixel offset in the last row!
Below is a snippet of my code along with the corresponding CSS...
<div class="menublock"><div class="menublock-inner" style="text-align:center;"><i class="fa fa-home fa-3x" style="color:#fff;" aria-hidden="true"></i><br /><br /><b>home</b></div></div>
<!-- Additional html markup here -->
When executed, the output looks like this...