Post
font-size is not the same as character-width. monospace just means "same character width", not width = height
check this
https://jsfiddle.net/OPTlMUS/x5qk608a/
E.g. monospace / 66
is a character width of 39.7333px
You would need to adjust either spacing or font-size …
Once I made a pen to measure fonts with canvas. https://codepen.io/sebilasse/pen/gPBQqm
@sl007 ah! Yeah. Thanks 🙂
@Edent I don’t believe font-size ever dictates character width. It’s more about specifying height.
@Edent Is it because the CSS rule is setting the font size (= font height), but you want it to set the font width?
@duncanstephen Ah, yeah, that's probably it! D'oh!
We are a network of scientists, developers and organizations building the next generation of digital spaces for open science.