Welcome to The Real Blogger Status - Beta. Please note the warnings (as of 6/13: 0 active), and the alerts (as of 1/10/2007: 5 active).

Please be aware of the naming variances in this blog. You will find various references to "Classic" / "Old Template 2006" Blogger, and to "Beta" / "New Template 2006" Blogger.
Showing posts with label Formatting. Show all posts
Showing posts with label Formatting. Show all posts

Friday, November 24, 2006

Spacing Changes In Blogger Beta - 3

A new post starts out with wide vertical spacing. Look at what we have here, from line to line. Nice and wide vertical spacing. Clean and easy to read. The perfect look for a blog, right?

(Note): This post has been migrated to (and improved in) The Real Blogger Status: Spacing Changes In Layouts Templates #3.

Now, let's throw in a quote.


In the past, and looking at my example shown in Spacing Changes In Blogger Beta, you'd start seeing the problem here. My immediately previous article Spacing Changes In Blogger Beta - 2 suggested an obnoxiously tedious workaround to this problem, which involved surrounding each indent element, such as
<blockquote> ... </blockquote>
with an extra span set to give

<span style="line-height: 1.2;"><blockquote> ... </blockquote></span>


This was fine - it made my blog posts look neat and tidy again - but it had its drawback. It was a major pain in the ass to use - any of my blog posts, of any length, would include 2, 3, or more formatting elements, which I would have to surround each one.

So today, whilst browsing Blogger Help Group: Something Is Broken, I come across Blockquote problem w/ Minima template, with a better workaround.

Go to the Template | Edit HTML tab. In the CSS (top) section of your template code, find the post section. In this section, under the ".post p" heading, find the line that says: line-height:1.6em. Move this line to the ".post" section.


So, let's see what we have in my template.


.post {
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
}

...

.post p {
margin:0 0 .75em;
line-height:1.6em;
}


and change it to


.post {
margin:.5em 0 1.5em;
border-bottom:1px dotted $bordercolor;
padding-bottom:1.5em;
line-height:1.6em;
}

...

.post p {
margin:0 0 .75em;
}


Move the one line of code, in red. Save, and View Blog.

Simple, but still a workaround.
  • It's one change / template setup in the blog (remember if you change templates, you'll have to repeat this one change). Not one change / page element in each post, for eternity.
  • When installed, you lose spacing differences in indented elements (<blockquote>, <ol>, <ul>).
The blog is neater now, but it's not as readable. Let Blogger know that this needs to be fixed properly.

Tuesday, October 17, 2006

Spacing Changes In Blogger Beta - 2

(Note 11/25): The below content is informational only. The problem in question is not demonstrated, because of the workaround currently in place.

A new post starts out with wide vertical spacing. Look at what we have here, from line to line. Nice and wide vertical spacing. Clean and easy to read. The perfect look for a blog, right?

But don't get used to it - what does this look like in Internet Explorer? In my previous post, Spacing Changes In Blogger Beta, I showed the problem. Maybe the advice given by Paul R will help here.

Now, let's throw in a quote.

And now, look at the vertical spacing. It's fine now, until after the unsorted list below. Nice one, Paul.

So, how did this work? Well, in the above example in my previous post, I have

<blockquote>Now, let's throw in a quote.</blockquote>


and in this post I have

<span style="line-height: 1.2;"><blockquote>Now, let's throw in a quote.</blockquote></span>


Look at my other posts, for instance. Enough! I Want To Go Back! and Beta Blogs: My 3 Week Evaluation both exhibit this behaviour.

Other folks who have observed this.


(Edit 11/18): And today, we see the new comment (#2, below)
The fix worked for me on Firefox, but not in Internet Explorer.
DOHH! Why should this not surprise me?


(Edit 11/24):See Spacing Changes In Blogger Beta - 3 for an update, making this workaround unnecessary.


(Edit 10/17): From Problem with the line space of the posts., we find possible hope:
As a temporary fix for current posts, I (accidentally) found that if
you add <span style="line-height: 1.4;"> before each blockquote, and </span> after the blockquote, then the line spacing goes back to normal after the quote, as it is supposed to.

Friday, September 22, 2006

Spacing Changes In Blogger Beta

(Note 11/25): The below content is informational only. The problem in question is not demonstrated, because of the workaround currently in place.

A new post starts out with wide vertical spacing. Look at what we have here, from line to line. Nice and wide vertical spacing. Clean and easy to read. The perfect look for a blog, right?

Now, let's throw in a quote.

And now, look at the vertical spacing. With enough lines in here, you can see a change in post layout. The vertical spacing becomes much tighter. This looks sloppy. I've also seen this happen when you include <ol> and <ul> post elements. It appears to happen with any indentation element.

But let's try a test, per advice outlined below.
Testing.


Look at my other posts, for instance. Enough! I Want To Go Back! and Beta Blogs: My 3 Week Evaluation both exhibit this behaviour.

Other folks who have observed this.


(Edit 11/24):See Spacing Changes In Blogger Beta - 3 for an update, and now you cannot (hopefully) even see the problem.


(Edit 10/17): From Problem with the line space of the posts., we find possible hope:
As a temporary fix for current posts, I (accidentally) found that if
you add <span style="line-height: 1.4;"> before each blockquote, and </span> after the blockquote, then the line spacing goes back to normal after the quote, as it is supposed to.

So I will test this in Spacing Changes In Blogger Beta - 2, and we will see how it works out.