SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Is this possible in DW?

    Hi

    Is the following find and replace possible in DW?

    Original html:

    <a href="page.htm">

    <img src="images/image.jpg" alt="image" />

    </a>

    <p>text</p>

    to the following html:

    <a href="page.htm">

    <img src="images/image.jpg" alt="image" />

    <p>text</p>

    </a>

    I simply want to move the end of the <a> tag to appear after the end of the <p> tag. Sounds simple enough but DW doesnt seem to want to do it!


    Thanks
    C

  2. #2
    SitePoint Guru alecrust's Avatar
    Join Date
    Jun 2007
    Location
    London, UK
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So you are just trying to move this up one line:
    Code:
    </a>
    That should work fine. What happens when you try? Screenshots please.
    Honda Civic Forum - UK Civic Forum
    Web Host Reviews - Independent, honest host reviews
    My Portfolio - Simplicity is the ultimate sophistication

  3. #3
    SitePoint Member
    Join Date
    Mar 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    No. I would like instances of:

    </a>

    <p>text</p>

    to become:

    <p>text</p>

    </a>

    Such a simple thing you would think?

  4. #4
    SitePoint Wizard bronze trophy bluedreamer's Avatar
    Join Date
    Jul 2005
    Location
    Middle England
    Posts
    3,402
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    You can't have a <p> tag inside an <a> tag...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •