Archived topic
Text Beside Image - Break After Text
3 replies · Started by John on December 28, 2016
I am building a page, which has many images - each image is a picture of which is described by text beside it. I would like to provide a break after the text for each image, but not sure how to do it.
In searching, I found that issuing a <BR CLEAR="all"> should do it.
On the page, after inserting the <BR CLEAR="all">, sure enough, it does as needed. But... As soon as I go back in to edit the page, the <BR CLEAR="all"> has be automagically removed by the "smart" editor.
Is there a way to prevent the editor from cleaning up my HTML or is there a proper way to do that that is friendly to the editor?
John
Hi John,
Try this instead:
<div class="clear"><!-- clear --></div>
Thanks. This works VERY well. Unfortunately the visual editor does not understand it too well, so formatting looks strange but editing in code mode and all works good.
Thanks..
Yea the visual editor doesn't get the CSS from it. There's a way to make that work but it's somewhat complicated. Let me know if you'd like to give it a shot :)