mindstorm
Member
Posted 4 years ago #
Hi all,
I'm having trouble with hard returns (
<p>)"sticking". When I make multiple returns they aren't showing up in the HTML and when I code them in they are deleted when saved or when I return to the visual editor.
I thought I had this problem resolved but once I upgraded to 2.5.1 the problem returned.
Sorry if there is already a post for this I did a search and nothing came up.
Thanks
Do you mean that empty <p></p> tags or single <p> tags are being removed? If you need more vertical space between paragraphs, try adjusting the margin or padding using css instead of using multiple returns each time.
mindstorm
Member
Posted 4 years ago #
Do you mean that empty <p></p> tags or single <p> tags are being removed?
yes as well as breaks.
I would add more margin or padding if it were my site however this is for a client and Hard Returns is a request from them. Each paragraph will not need the exact same padding and margin space.
mbphvice
Member
Posted 3 years ago #
Here is a hack that works:
put a dot '.' for as many lines as you want breaks, then right before the first dot add <<font color="ffffff">and then put as many dots as you need (for line breaks); then use the hex code to match your background and the dots will not show up but the space will. Then close after the last dot with "</font>. The above hex code is for white background. There are plenty hex code (html) sites for html safe colors.