cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

On the Android Browser pre-Jellybean, font-size: 0 does not remove the white-space between inline-block elements.

Although the browser on Jellybean does remove the space, unfortunately, a random bug fails to remove all of the space before the last element

Comments

  1. Great research Matt, thanks!

  2. It seems that it can be (almost) fixed by replacing 0 with very small non-zero value, e.g. 0.001px: http://codepen.io/SelenIT/pen/HIika

  3. I've been able to reproduce this ("yay!") on Android Jelly Bean 4.2.2 as well.@SelenIT 's suggestion did not help, unfortunately; I'm guessing it might work if you have just a tiny bit of space remaining, but if you're inline-blocked elements add up to exactly 100% width - no deal.

  4. A bit late, but worth the try. Do we have any workarounds for that? Thanks!

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...
Loading...