Question

I am a new coder/web designer and i am trying to add a the youtube logo that when clicked confirm subscription to the users channel

i have a php file with the following coding within...

<div id="youtube">
<a href="http://www.youtube.com/subscription_center?add_user=theansweriscake"><img src="/images/YouTube.png /></a>
</div>

this links to confirm subscription and the image directory is correct

however the problem is that whenever i add this into the coding it stuffs everything up! if you go to any page and right click and go 'inspect element' you will see that the like box for facebook has a box around it which has the room for the youtube picture link but it doesnt work, as said, when i add it in everything just clumps up together and/or the menu clumps up and goes all weird

Was it helpful?

Solution

You had two problems by the looks of things. The first issue was your include filename was wrong and the second was that you missed the closing inverted comma "

This was on the img src= tag

OTHER TIPS

Try to change your id to something else - like <div id="youtube-confirm">

The youtube id might be reserved in FB script and it messes up your and their stuff

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top