CSS peeps... what's the new "not yet supported" property that'll fix the typographic issue where the "box" results in vertically "off centre" text?
-
CSS peeps... what's the new "not yet supported" property that'll fix the typographic issue where the "box" results in vertically "off centre" text?
To stop this kind of thing requiring fudged numbers to make the text optically centred.
-
@mattwilcox
I don't know the name for this, but sometimes, I use an increased line height instead of regular height (or block size) to circumvent this.It's not perfect, especially when using a font that isn't perfectly aligned, but desperate times call for desperate measures.
-
@mahryekuh Yeah, I usually just adjust the padding with fudged numbers - can't wait for the "real fix" to land in all browsers.
text-box-trim is what it was called, and I couldn't remember.
-
@mattwilcox They would be so helpful! Sadly, it doesn't look like they will be baseline anytime soon.