I’m having a similar problem with the visual editor changing things.
I put this in the HTML editor:
<h2>My H2 Text<div style=”font-size: 1%;”>
<hr align=”LEFT” width=”50%” />
</div>
</h2>
because I want a half horizontal rule very close under my “My H2 Text”
header (a very teeny 1% line break).
But if ANYONE edits this page with the visual editor, it gets
changed to
<h2>My H2 Text</h2>
<div style=”font-size: 1%;”>
<hr align=”LEFT” width=”50%” />
</div>
which leaves a full line break between the text and the hr rather
than having the hr close below the text.
Did you find a solution to your problem?
[duplicate – closed]