Add Div to post or page
-
Every so often I want to add something special like a right floated DIV to a post. I already have the style sheet set up for the DIV and then type DIV into the code of the post with the class name that matches the style sheet. When I save the page WordPress removes the opening and closing Div code and leaves the stuff in the middle.
Example:
<div class=”right”>chicken</div> turns into chickenI also tried entering this:
<div align=”right”>chicken</div> and I get:
<p align=”right”>chicken</p>Any ideas?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Add Div to post or page’ is closed to new replies.