Simple HTML Problem i will pay - Simple -

Discussion in 'PHP' started by calcalmx123, Apr 8, 2008.

  1. #1
    my site , http://phineasandferb.co.uk has a really simple html problem its the vid.php(http://phineasandferb.co.uk/vid.php) page

    <a href="01.php" target="_top"><img border="0" alt="Go to lastpage" src="http://i.ytimg.com/vi/R3UQzGlFA0Q/default.jpg" ></a></p>
    
    <a href="02.php" target="_top"><img border="0" alt="Go to lastpage" src="http://i.ytimg.com/vi/rkb4s-cD9UY/default.jpg" ></a></p>
    
    
    PHP:
    i will pay $2 if you can make the pictures stay on the same line but the target needs to be top as it needs to break out of a iframe
     
    calcalmx123, Apr 8, 2008 IP
  2. beagrie

    beagrie Peon

    Messages:
    32
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I haven't tested it, but try taking the </p> tag off of the end of the first <a> tag. I don't think this counts as PHP related... even though it's a PHP file.

    (fyi, I'm not fussed about the $2 if that works)
     
    beagrie, Apr 8, 2008 IP
    calcalmx123 likes this.
  3. redlorry919

    redlorry919 Peon

    Messages:
    384
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Agreed with beagrie, removing the </p> will sort it.
     
    redlorry919, Apr 8, 2008 IP
    calcalmx123 likes this.
  4. calcalmx123

    calcalmx123 Well-Known Member

    Messages:
    1,498
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    195
    #4
    thanks rep added to you both :D
     
    calcalmx123, Apr 8, 2008 IP