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

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

Referer Spam Is Annoying - And, It's Persistent

Recently, we've seen a few blog owners who are curious about odd trends in their Stats displays. My numbers seem to go up steadily for a while, then drop. Then, they go up again, for a while, then drop again. Rises and falls in traffic are normal. You'll never have the same number of people, viewing your blog, constantly. During some days and some hours, our readers are going to be elsewhere, and not viewing our blogs.

Jump Break Is Visible Only In An Index Page

Some blog owners are unsure what a Jump Break looks like, when applied to their blogs. Occasionally, in Blogger Help Forum: Get Help with an Issue , we see the confusion. Where's the Jump Break? or I added a Jump Break to several posts, but it never shows up! When asked for a screen print of what they're seeing, they may provide a image of the post, in the Post Editor Preview window - or possibly, the published post, but in post page view.