Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Css Code That Doesn't Work


Question

3 answers to this question

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

Stefano,

This code works to create a brown border around two of your boxes:


.pl-imageframe a:hover img {

background: none repeat scroll 0 0 rgb(127, 38, 21);

}

The reason it doesn't work on Calendario Corsi is that you do not have an href link to the box image.

Look at the code above... it says imageframe (the frame) a (the href link) hover (the action taken by the visitor for the link before, and img (the image being the linked item).

When you don't have an href wrapping the image, as with Calendario, you won't get an a:hover effect because there's no a href. Capice? ;-)

1 person likes this

Share this post


Link to post
Share on other sites