|
Are you by chance using Mend and Prettify?
Are we talking about these lines showing in CodeView or in Preview?
If in CodeView, you do you understand that newlines (even multiple newlines) are treated just like a single space. Your css does not need to do anything special to deal with newlines after a closing p tag. It is inter-element white space just there to make the code easier to read and edit. And to prevent an entire file from being just one big continuous line.
If these lines are showing up in Preview, then it is related to using either a pre tag in CodeView someplace, or the result of css that hard codes whitespace.
I can't tell what is wrong from your image as it is all greyed out. But to my eyes it looks like a css issue with whitespace showing in Preview, maybe because of padding or a border or margins or something else. Not sure.
To test, add a bunch of newlines after one of the ending p tags in CodeView, does the whitespace in Preview that corresponds to the one you edited, grow or stay the same?
Last edited by KevinH; 04-03-2026 at 04:18 PM.
|