Im having a problem with using custom styles in a div inside the code view.
When I "save" the code gets rewritten and my <div class="something"> turns into <p class="something">
Is there anyway to turn on code rewriting?
Thanks!
Im having a problem with using custom styles in a div inside the code view.
When I "save" the code gets rewritten and my <div class="something"> turns into <p class="something">
Is there anyway to turn on code rewriting?
Thanks!
In my (recent) version I turn off the visual editor for the user, and then also uncheck
"WordPress should correct invalidly nested XHTML"
under Options -> Writing.
Then my code doesn't get altered.
I found this which I think will help:
This topic has been closed to new replies.