Home › Forums › CSS › Inline Block Elements White Space Collapsing › Re: Inline Block Elements White Space Collapsing
May 29, 2012 at 9:00 pm
#103640
Member
@joshuanhibbert:
Sure — see this screenshot. It doesn’t cut it there and forces the final block underneath the others.
I put “font-size: 0rem” in because I only want browsers that recognize rem to apply the size. Since I am restoring it with font-size: 1rem in the next rule, it seemed logical to enforce it in the first rule as well. I am using display: table to target Safari which won’t respect font-size: 0 for inline-block styled elements.