Forum

Thread tagged as: Problem, Error, Addons

Blog output problem

Hi guys,

I'm having a problem with the blog function on a site I've built, a specific example of the problem can be seen here:

https://leucopatch.com/blog/post.php?s=the-large-randomized-clinical-trial-of-leucopatch-speeds-up

Basically, blog posts are output with varying luck, with capitalised abbreviations always leading to unwanted line breaks. Any ideas what the reason is?

Many thanks/please let me know if I can do anything to make it easier for you to help! Daniel

Daniel Flösser

Daniel Flösser 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

On line 512 of your CSS you are setting span to display:block. Perch isn't doing that.

If you use Textile things in caps are marked up with a span, which you can see if you inspect the element. However any CSS that is so unspecific as to just target a span element is likely to give you odd results with user entered content.

Many thanks for that Rachel, that solved it, and good point about the CSS being too unspecific.