DamMac
08-05-2011, 01:46 AM
I'm having a slight problem with my image links, they aren't appearing on my page at all. I was wondering if anyone could tell me where I've gone wrong?
HTML:
<div id="footer">
<div id="footercontainer">
<a href="http://www.facebook.com/" target="_blank" class="facebook" alt="Facebook Icon" />
<a href="http://twitter.com/" target="_blank" class="twitter" alt="Twitter Icon" />
<a href="http://www.youtube.com" target="_blank" class="youtube" alt="YouTube Icon" />
<a href="http://www.linkedin.com/" target="_blank" class="linkedin" alt="LinkedIn Icon" />
<p id="footertext"><strong>© Me 2011</strong></p>
</div>
</div>
CSS:
#footer {
background: url('images/footer.png');
margin-left: -8px;
margin-right: -8px;
height: 70px;
margin-top: 330px;
margin-bottom: -10px;
}
#footercontainer {
width: 700px;
margin: 0px auto;
}
a.linkedin {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
margin: 0px auto;
background-repeat: no-repeat;
}
a.linkedin:hover {
background-image: url(images/twitter.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.youtube {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.youtube:hover {
background-image: url(images/youtube.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.facebook {
background-image: url(images/facebookgrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.facebook:hover {
background-image: url(images/facebook.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.twitter {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.twitter:hover {
background-image: url(images/twitter.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
I've been trying to work out what the problem is for hours now... and have run out of things to try and make it work! I just cant see why it isnt working!
Knowing my luck its probably something simple!
HTML:
<div id="footer">
<div id="footercontainer">
<a href="http://www.facebook.com/" target="_blank" class="facebook" alt="Facebook Icon" />
<a href="http://twitter.com/" target="_blank" class="twitter" alt="Twitter Icon" />
<a href="http://www.youtube.com" target="_blank" class="youtube" alt="YouTube Icon" />
<a href="http://www.linkedin.com/" target="_blank" class="linkedin" alt="LinkedIn Icon" />
<p id="footertext"><strong>© Me 2011</strong></p>
</div>
</div>
CSS:
#footer {
background: url('images/footer.png');
margin-left: -8px;
margin-right: -8px;
height: 70px;
margin-top: 330px;
margin-bottom: -10px;
}
#footercontainer {
width: 700px;
margin: 0px auto;
}
a.linkedin {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
margin: 0px auto;
background-repeat: no-repeat;
}
a.linkedin:hover {
background-image: url(images/twitter.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.youtube {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.youtube:hover {
background-image: url(images/youtube.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.facebook {
background-image: url(images/facebookgrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.facebook:hover {
background-image: url(images/facebook.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.twitter {
background-image: url(images/twittergrey.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
a.twitter:hover {
background-image: url(images/twitter.png);
width: 50px;
height: 50px;
background-repeat: no-repeat;
}
I've been trying to work out what the problem is for hours now... and have run out of things to try and make it work! I just cant see why it isnt working!
Knowing my luck its probably something simple!