2

The question Where is the Mysterious Trader from The Witcher 2 DLC 1? has the following content:

Where is the Mysterious Trader from The Witcher 2 DLC 1? More specifically, the one from Act 3.

You'll note the lack of blank line at the beginning. However, this is how it displays:

screenshot

My red line is approximately where the top of the text should be. The post-text <div> is inside another <div> with style="display: block; ". This outer div normally has no style attribute, at least not on the normally-behaving questions I just checked.

I think this is a bug, but if not, why is this question special? Editing the question has no effect (at least the minor edit Jeff just made anyways). I also tried posting the same text in a question elsewhere and the <div> remained styleless.

In case it matters, this has occurred on various up-to-date Chrome versions, plus IE8 and Firefox 6.0, on Windows XP.

Edit: As Tim found below, it's because the question is so short. His workarounds would probably be preferable to the current behavior, which I still view as a bug.

4
  • 2
    mysterious! I'll check with Jin. Sep 1 '11 at 21:11
  • 1
    The problem is simply that the question is so short that the controls on the left take up more vertical space than everything on the right. Adding a vertical-align:top; to #question .postcell, or a min-height: to #question .post-text will fix it.
    – Tim Stone
    Sep 1 '11 at 21:30
  • @Tim Hmm, it doesn't do that on Android. Editing it into 3 lines worked got rid of the problem though. Sep 1 '11 at 21:32
  • Yeah, Android has vertical-align:baseline on the post cell, which also seems to work. Luckily, Jin is on the case! :)
    – Tim Stone
    Sep 1 '11 at 21:37
4

the fix will be in the next deployment.

3
  • Great, thanks for the fast response. Sep 1 '11 at 21:38
  • 2
    They better be giving you extra bacon for that incredibly speedy fix.
    – Tim Stone
    Sep 1 '11 at 21:38
  • @Tim as you suspected, .postcell {vertical-align:top } fixed the problem. I've added it to shared LESS so it will affect all SE2.0 sites.
    – Jin
    Sep 1 '11 at 21:46

You must log in to answer this question.

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