Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have reduced the font size to very small here but large interline gaps remained. Additionally, it does not seem to be monospace since length does not increase monotonously as it should in case of font-family: "Courier New",Courier,monospace. In edit mode, everything is fine.

share|improve this question
The line spacing is dependent on the line-height, not the font-size (although it is related initially). – w3dk Aug 19 '13 at 17:08
Thanks. I have set the line-height to zero for the enclosing <pre> component. It does not change anything. Also, I see no problem in the editor mode where I just select a small font and all inter-line spacing to to zero with font size. I do not change line spacing separately. I ask here because line-height does not help. – Val Aug 19 '13 at 17:27

Ok, the problem was that switching from HTML to WYSIWYG composition mode, blogger does something to the HTML so that font-family: "Courier New",Courier,monospace; font-size: 1px; slipped into <pre> tag where nothing more but font size had effect.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.