Font-size and Line-height for <pre>, <code>, and Other Monospaced Fonts
While attempting to create a consistent cross-browser font baseline, I ran into the following strange behaviour in certain browsers (not IE for once!). Any monospaced font was rendered smaller than the surrounding text, even when specifically set to display at 1em. I found this to be true in both Firefox and Chrome. After a bit […]
Font-size and Line-height for <pre>, <code>, and Other Monospaced Fonts Read More »