Need help? Check out our Support site, then


Editing in Visual moves anchor close

  1. I have a page with this code in it:
    <a title="Link to Event form" href="#event-form"><img class="aligncenter size-full wp-image-3357" style="margin:10px auto;padding:0;" title="Button" src="http://mydomain.files.wordpress.com/2012/01/button.png" alt="Button" width="222" height="34" /></a>

    If the last time I closed the edit function it was set to HTML, this page opens correctly as above.

    If however the last time I closed the edit function it was set to Visual, this page opens in Visual and the has been moved to just after the href thus:
    <a title="Link to Event form" href="#event-form"></a><img class="aligncenter size-full wp-image-3357" style="margin:10px auto;padding:0;" title="Button" src="http://mydomain.files.wordpress.com/2012/01/button.png" alt="Button" width="222" height="34" />

    This of course wrecks the link which clicking on the image is supposed to take you to.

    I've never seen this before in WordPress. What do I have to do to fix it? All ideas welcome!

    (I've tried this with and without the full URL to the internal link anchor; it breaks the same each way)

    The blog I need help with is sctf.org.uk.

  2. Well, that markup is really messed up - wasn't what I posted at all!!

  3. Paste the URL of the page in question please.

  4. Oh I see..
    @nprior: Please don't post the same question twice.

  5. @justpi - note the resolved flag.

  6. Answered here:
    http://en.forums.wordpress.com/topic/problem-editing-in-visual-mode?replies=5#post-826878

    The resolved flag is irrelevant to the fact that you shouldn't post the same question twice.

Topic Closed

This topic has been closed to new replies.

About this Topic