Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

HTML structure (tag position) is changed after saved at CMS


Reply

872 Views

Avatar
leafchild

17 May 2011 at 11:24am (Last edited: 19 May 2011 5:19am), Community Member, 41 Posts

When I tried to use HTML editor
some HTML tag closed position changed automatically and that messing up layout

ex:

<div id="middleWrapper">
<div id="middle">
<div class="padTop30"><!-- --></div>
<div class="containerCareer">

<div class="cuLft2">
...
</div>
   <div class="cuLftIn">
...
</div>

</div>
</div>

.......

became like this after save:

<div id="middleWrapper">
<div id="middle">
<div class="padTop30">
<div class="containerCareer">

<div class="cuLft2">
...
</div>
   <div class="cuLftIn">
...
</div>

</div>
</div>
</div>

It seems like Editor doesn't like tag when there is nothing inside of tab.

How can I prevent editer changing something like this?