Jump to content


Photo
- - - - -
Resolved

Css Code That Doesn't Work

css code box frame hover frame box

  • Please log in to reply
3 replies to this topic

#1 stefanoferruggiara

stefanoferruggiara

    Advocate

  • Members
  • 564 posts
  • LocationVerbania (VB) - Italy
  • Country: Country Flag

Posted 03 November 2012 - 08:18 PM

HI,
i set this code:

.pl-imageframe a:hover img {
background: none repeat scroll 0% 0% rgb(127, 38, 21);
}

for change the hover color of the frame box but.. doesn't work.

Please Login or Register to see this Hidden Content



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 November 2012 - 11:37 PM

Stefano,

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

Please Login or Register to see this Hidden Content


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? ;-)
  • stefanoferruggiara likes this

#3 stefanoferruggiara

stefanoferruggiara

    Advocate

  • Members
  • 564 posts
  • LocationVerbania (VB) - Italy
  • Country: Country Flag

Posted 04 November 2012 - 02:20 PM

thanks

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 04 November 2012 - 06:35 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, css code, box, frame hover, frame box