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


908 Views

Avatar
leafchild

Community Member, 41 Posts

17 May 2011 at 11:24am

Edited: 19/05/2011 5:19am

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?