Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Currently when I type in a question or an answer here's how the preview looks like:

enter image description here

Note the dotted frame around the preview area. There's no extra space between the first line of text and the upper dotted line, but there's room for an extra line of text between the last line of text (there's no linefeed after it as you can see in the edit area) and the lower dotted line.

I suppose that's a bug and there should not be extra room between the last line of text and the lower dotted line the same way as there's no extra room between the first line of text and the upper dotted line.

share|improve this question
up vote 9 down vote accepted

That's just down to how <p> is styled. That input would simply be translated to:


Exploring the generated content in Firebug:

enter image description here

share|improve this answer
... both in the preview and the final post. Precisely. There's no "extra line", there's whitespace. – balpha May 23 '12 at 14:45
@balpha: Whatever it is - whitespace or anything - it looks untidy IMO. Is there a need for it? – sharptooth May 23 '12 at 14:56
@sharptooth: yes, there is. It keeps the bottom of each paragraph from bumping up against the text below it. It looks very untidy without it! – Shog9 May 23 '12 at 17:43
@Shog9: Is it possible to maybe preserve that for all paragraphs except the last one in the preview? – sharptooth May 23 '12 at 17:45
Not reliably, @sharptooth, no. – Shog9 May 23 '12 at 17:53
A compromise would be to set both the top and bottom margins to half the height. That way you get the same gaps between paragraphs and smaller ones at the top and bottom of the whole text. But really, it's fine as it is. – Shawn Chin May 23 '12 at 18:33
Btw I believe that setting the top and the bottom to half (or maybe even third) the height would be a really good idea. – sharptooth May 24 '12 at 11:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .