So I've noticed the browser is adding spaces to something that there should be no spaces in.
In chrome, inspector. there is "no" browser/user_agent css that is doing this, it doesn't exist, yet here is proof.
The CSS:
ul.S_GAMES li {
margin: 0;
display: inline-block;
vertical-align: middle;
text-align: center;
width: 150px;
height: 125px;
background-image:url(/assets/preloadimg.GIF);
background-repeat: no-repeat;
background-position:center;
/* this is just to show the design without adding extra space like borders */
outline:#ccc 1px solid;
}
The HTML
<ul class="S_GAMES">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
I also am using a CSS reset code as well which removes all margins/paddings that HTML automatically adds on. This is completely ghost. Now if I was to use float:left
spaces would not exist, but I want the code to be inline, but still. without the command of me saying add space, why would there be any in the first place? It should be snug right up against each other unless I say otherwise.