Anchor around a div
I need to wrap an anchor around a div:
<a href="#"><div id="pause">Pause</div></a>
But when I save, WP removes the div from inside the anchor and closes the anchor, then places the duplicates the anchor and wraps it inside a div.
<a href="#"> </a> <div id="pause"><a href="#">Pause</a>
Ive tried hacking kses.php but I suspect its in the tinymce – anyone know how to solve this?
- The topic ‘Anchor around a div’ is closed to new replies.