By zoffmann on
I use tinymce as editor and I have put some div tags in my page,
firstly guidelines appeared around areas where div tags were
but now guidelines have disapeared and I don't know what the reason is.
any suggestion to solve this ?
Comments
WYSIWYG? Input format?
What I think you are trying to say is that you added some
<div>s to the body which were styles so that borders appear, but when you edit the node the borders disappear. You didn't describe what changes you made on the site between the initial edit and the disappearance of the borders, but my first guess would be that your WYSIWYG editor may be stripping out the<div>s or relevant id or class attributes. A workaround is to disable the WYSIWYG editor for the content type in question, or use a different input filter that does not have the WYSIWYG enabled by default.If you're not using a WYSIWYG or otherwise determine that this is not the cause of the problem, here are some other guesses:
* You have a stray tag somewhere which is invalidating the markup. If you accidentally pasted an extra
</div>somewhere, for example, subsequent<div>s may not be styled correctly.* You made a typo editing your stylesheet and the selector for
<div>is not properly formatted* You changed the input format to one where
<div>is not permitted* You changed the HTML filter so that
<div>is not permitted