I want to make a subtitle on a page, which needs to be centered and to have no space between it and the title.
In the CKeditor window, I entered the subtitle as the first line of text and centered it. In source, CKeditor represented this as:
which results in a blank line above. I tried to remove the blank line by changing the above code to:
But CKeditor didn't like either of those. It removed the center tag and replaced the
I also tried to add an instruction in CSS as either:
<p class="rtecenter" style="margin-top:0">...</p>
<p class="rtecenter"><span style="margin-top:0">...</style></p>
CKeditor also didn't like either of those and just removed the style attribute from the first one and removed the span tag from the second.
I'm not very conversant in CSS, so I'm not sure the above code is properly formed. But the problem is that CKeditor is just removing it so I don't even get a chance to troubleshoot errors in the CSS.
CKeditor seems determined to have that blank line there. How can I get it to let me adjust this spacing between paragraphs (not globally, but on an individual paragraph)?