Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello Friends
i am using the latest release of Umbraco (4).
I have developed a site and in that content area part i have used a lot of nested div tags.
But after saving the content what i found is that it removes all internal nested Div tags and leaves with only the external div tag.
can u pls suggest me how can i solve this problem...
I havent used XSLT ...so pls consider this when giving suggestions.
Here is an example :
<div class="Name"> <div class="Subject" style="width:260px;"> <div class="Division"> <p class="Category">Lists of collges student attending the lecture</p> </div> </div></div>
Thanks in advance
Vikas Mehta
It sounds like it's TidyHtml that's "cleaning up" your code and has merge-divs set somewhere. Turning off tidy is a quick solution.
In \config\umbracosettings.config and set the TidyEditorContent to false:
<!-- clean editor content with use of tidy -->
<TidyEditorContent>false</TidyEditorContent>
-Chris
Chris,
Great man....Thanks for your support...problem got solved....
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
nested div when taken in content area removes all internal tags and leaves only external main tag
Hello Friends
i am using the latest release of Umbraco (4).
I have developed a site and in that content area part i have used a lot of nested div tags.
But after saving the content what i found is that it removes all internal nested Div tags and leaves with only the external div tag.
can u pls suggest me how can i solve this problem...
I havent used XSLT ...so pls consider this when giving suggestions.
Here is an example :
<div class="Name">
<div class="Subject" style="width:260px;">
<div class="Division">
<p class="Category">Lists of collges student attending the lecture</p>
</div>
</div>
</div>
Thanks in advance
Vikas Mehta
It sounds like it's TidyHtml that's "cleaning up" your code and has merge-divs set somewhere. Turning off tidy is a quick solution.
In \config\umbracosettings.config and set the TidyEditorContent to false:
-Chris
Chris,
Great man....Thanks for your support...problem got solved....
is working on a reply...