Skip to main content

Line Spacing And Pre-Formatted Blocks

I use "<pre> ... </pre>" blocks in my posts a lot, as a way to highlight code examples and log outputs. Unlike blockquotes, preformatted blocks preserve indentation in the material highlighted, and with both code and log listings, indentation (horizontal spacing) is as an important part of the display as is line spacing (vertical spacing).

Earlier this month, I showed how the corrected (finally!) vertical line spacing issue had been corrected, and how easily you can tweak the line spacing for elements like pre-formatted blocks. At that time, vertical line spacing for pre-formatted blocks was predictable, and could be tweaked. Since that time and just before the (mostly Draft) New Blogger June 2008 release, vertical line spacing changed.

You can see the problem, in Blogger Spacing Issue Fixed - June 2008. When I wrote that post, the code displayed, as I describe farther down in the post as
tighter vertical spacing (1.2em)


Now, it's not tighter.

Coming just before the release of New Blogger June 2008, we have to wonder.

>> (Update 6/28 21:00): This issue appears to be fixed.

>> Top

Comments

Unknown said…
It's currently double spacing, no ETA for a fix.

Popular posts from this blog

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

What Is "ghs.google.com" vs. "ghs.googlehosted.com"?

With Google Domains registered custom domains becoming more normal, we are seeing one odd attention to detail, expressed as confusion in Blogger Help Forum: Learn More About Blogger . My website uses "ghs.google.com" - am I supposed to use "ghs.googlehosted.com", instead? It's good to be attentive to detail, particularly with custom domain publishing . This is one detail that may not require immediate attention, however.