• On one of my pages I wanted to align a Facebook, Twitter, and YouTube button. The following code aligns them, but they become unclickable. Why is that and what do I need to do to fix it? Thanks in advance.

    <div align="center">
    <table border="0" cellpadding="5" cellspacing ="5" align="center">
    <tr>
    <td><img src="<a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example" border="0" alt=" photo facebook_zpsb444ae92.png"/></a>"></td>
    <td><img src="<a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example" border="0" alt=" photo twitter-1_zps1d2d0033.png"/></a>"></td>
    <td><img src="<a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example"0" alt=" photo youtube_zps4b2f9abf.png"/></a>"></td>
    </tr>
    </table>
    </div>


    [Please use the code buttons when posting code here]

    http://www.danieldickey.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The image tag have to be inside the anchor tags.

    <img src="<a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example"0" alt=" photo youtube_zps4b2f9abf.png"/></a>">

    Look at the code carefully – you have <img src=" before the a tag.

    Thread Starter Hello Friend

    (@danieldickey)

    I’m sorry, I had someone write this, and though I know a little, I’m lost. Can you please post what it should look like? Thank you.

    Okay, see if this works okay:

    <div align="center">
    <table border="0" cellpadding="5" cellspacing ="5" align="center">
    <tr>
    <td><a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example" border="0" alt=" photo facebook_zpsb444ae92.png"/></a>"></td>
    <td><a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example" border="0" alt=" photo twitter-1_zps1d2d0033.png"/></a>"></td>
    <td><a href="http://s44.beta.photobucket.com/user/example"><img src="http://i44.photobucket.com/albums/example"0" alt=" photo youtube_zps4b2f9abf.png"/></a>"></td>
    </tr>
    </table>
    </div>

    Thread Starter Hello Friend

    (@danieldickey)

    Works perfectly. Thank you so much. Looking at your code I see my mistake. If you have time, a second question: when I click the link it takes me to the new site, but how can I make it that it opens another page from the link rather than going to the site from the main page?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘HTML HELP. Thanks!’ is closed to new replies.