![]() |
Links are on the alt text
see URL: http://catalyst.backstageweb.net.
The Facebook and Twitter buttons are showing and linking to the alt text. The alt text shouldn't be showing and it should be linking to the whole button. Code:
<div id="fb"><a href="#"><img src="<?php bloginfo('template_url') ?>;/images/buttonFB.jpg" alt="Facebook" title="Like Us!" border="0"></a>Code:
#fb { |
Sorry, that's /css/...
Code:
<div id="fb"><a href="#"><img src="<?php bloginfo('template_url'); ?>/css/images/buttonFB.jpg" alt="Facebook" title="Like Us!" border="0"></a> |
Hello johndove,
You attempt to load your social icons twice, once from inside the anchor and again as a background image from the CSS. When the img fails to load from the markup, because the path or name is wrong, the alt shows. The image also shows because it's loaded again as a background. Remove that background image and check your img src= path and name. Correct path to one of your images - http://catalyst.backstageweb.net/wp-...tonTwitter.png |
Thanks Excavator! I knew something was amiss having two calls to the images, but when I removed the call from the css and just left this:
Code:
<img src="<?php bloginfo('template_url'); ?>/css/images/buttonFB.jpg |
Try editing your path, like this -
Code:
</ul>What are you writing your markup in? Most editors will insert an image with a path relative to the working directory. As long as you're using a directory structure on your local machine that is similar to your server, that path will work. |
| All times are GMT +1. The time now is 03:49 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.