Home › Forums › CSS › Inline Block Elements White Space Collapsing › Re: Inline Block Elements White Space Collapsing
May 29, 2012 at 8:40 pm
#103637
Member
Hello @joshuanhibbert,
Thanks for your feedback. Negative letter spacing was not a sufficient workaround for the issue as I encountered it. I appreciate your input and had a look at the overlapping elements issue you mentioned.
I was able to reduce my code (for my purposes) to these lines:
ul {
display: table;
font-size: 0rem;
width: 100%;
}
li {
display: inline-block;
font-size: 1rem;
}
That solved the issue in all my target browsers. Fiddle with it if you like — (Note: the IE-specific code was moved to a separate IE-targeted stylesheet).