Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   HTML (http://www.velocityreviews.com/forums/f31-html.html)
-   -   Re: Cannot use more than one link tag? (http://www.velocityreviews.com/forums/t961427-re-cannot-use-more-than-one-link-tag.html)

richard 06-05-2013 04:29 AM

Re: Cannot use more than one link tag?
 
On 04 Jun 2013 22:34:57 GMT, Marty wrote:

> This is driving me nuts.
>
> In the CSS file I have:
>
> a.blue { display:block ;
> width:120px ;
> height:120px ;
> background:url("bluepicture.gif") no-repeat ;
> }
>
> a.blue:hover {
>
> background:url("differentbluepicture.jpg") no-repeat ;
> }​
>
> a.red { display:block ;
> width:120px ;
> height:120px ;
> background:url("redpicture.gif") no-repeat ;
> }
>
> a.red:hover {
>
> background:url("differentredpicture.jpg") no-repeat ;
> }​
>
> In the code I use:
>
> <td width="140px"><a class="blue" href="gotobluesite.php"></a></td>
> <td width="140px"><a class="red" href="gotoredsite.php"></a></td>
>
> The blue picture and the hover picture will work for blue but not for
> red. If I reverse the order of the css, then the top one will work not
> the second.
>
> What stupid mistake am I making?


Just a thought.
Since this is a php page you have in the href, you may want to try the full
URL path. Include the http:// stuff.


All times are GMT. The time now is 02:22 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.