well u can copy the same tag in your content area and can chk by saving and puclishing the content file...then rechecking the same html part will show you what part remains and what part goes
P.S. In my opinion, you shouldn't have nested div's editable from the RTE. This will only end up with your client deleting these and complaining about the subsequent styling issues. Re-work your html/css so the RTE only needs to output simple <p>,<h>, etc tags. This will result in less bugs and a more robust editor for the client.
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
What part of this html gets removed then?
The only problem I've ran into is when htmlTidy starts rewriting my tags because there's nothing in them, like:
After save, this would produce:
I have to change it to:
Oh, there's a non breaking space in the last one:
Without the space between "&" and "nbsp;".
Original Tags:
<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>
After Saving the tags become like this :
<div class="Name" style="width: 260px;">
<p class="Category">Lists of collges student attending the lecture</p>
</div>
Hi. Sebastiaan Janssen
Thanks for your reply...
well u can copy the same tag in your content area and can chk by saving and puclishing the content file...then rechecking the same html part will show you what part remains and what part goes
Thanks
Hi Vikas,
You're posting in the wrong forum. This forum is only for discussion on the ClientArea package.
If you repost in http://our.umbraco.org/forum/using/ui-questions you will get more responses.
Regards,
Chris
P.S. In my opinion, you shouldn't have nested div's editable from the RTE. This will only end up with your client deleting these and complaining about the subsequent styling issues. Re-work your html/css so the RTE only needs to output simple <p>,<h>, etc tags. This will result in less bugs and a more robust editor for the client.
Thanks Chris...
hi,
how i write mark up like
<a href="#">
<div class="control_third">
<div class="text">
<p>
ISO 14001 and
<br />
9001 Assessment
<br />
& Compliance
<br />
Support</p>
</div>
</div></a>
in richtexteditor.
thanks.
is working on a reply...