Jump to content

Recommended Posts

Posted

Help! I'm working on a privacy policy page. The text was submitted as Word so I first pasted into BBEdit to remove the Word formatting then pasted into CKEditor on the site. In one spot only an H4 tag is displaying inline somehow beside the previous paragraph instead of on it's own line. See the heading "ACCURACY" below.2070296857_ScreenShot2019-03-27at12_26_55PM.png.34dcc27ec0adb358a9cc7fe741eae888.png

I searched for hidden characters using 3 different text editors and an online service, I checked it in 3 different browsers. There's no code that would target that and no JS or CSS effecting it. It displays correctly in CKEditor:

1647152424_ScreenShot2019-03-27at12_26_29PM.png.d90e2458f426a4bdd7213d039aee71e3.png

And when you look at the source markup there is nothing that would cause it:

591784269_ScreenShot2019-03-27at12_26_45PM.png.f7135b0944bad7c24a59eb21b6eec301.png

The last paragraph of text is a single line and the only way I can fix it is to insert additional text to force that paragraph onto 2 lines:

1198382174_ScreenShot2019-03-27at12_26_38PM.png.7cdb44368a367600a6f3183b0acc17cf.png

Has anyone seen this before? Is there something I'm missing? I'm going nuts and can't spend the rest of my life on this. Any help is appreciated.

Posted

My understanding has always been that block level elements get 100% width by default. Has that changed? I have fixed the issue by writing a CSS rule to govern <p> tags setting the width to 100% but I've never had to do that before. Shouldn't have to do that. Still have no idea why that's displaying that way without the new rule.

Freaked me out but I have it under control again.

So it's solved (ish).

Posted

Is there anything in the real rendered source (not inspector view but CTRL/STRG + U)?

Does it render weird while CSS is disabled?

Does it render weird while JS is disabled?

How does another <h4> above/below gets rendered?

Posted

That happen to me one. I thought it a weird bug.

Try changing the FKEditor filed to Textarea and back. Somehow this worked for me as I think it stripped all html entites/tags/formatting and rendered the content as plain-text.

  • Like 1
Posted
1 hour ago, wbmnfktr said:

Is there anything in the real rendered source (not inspector view but CTRL/STRG + U)?

Does it render weird while CSS is disabled?

Does it render weird while JS is disabled?

How does another <h4> above/below gets rendered?

It happened only on that page in that spot and didn't change when I turned the h4 into an h3. I found nothing in the CSS or any JS that would effect it. It seems the browser(s) were rendering that area as if it was inline. I'll try @OrganizedFellow's suggestion.

Stupid gremlins.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...