html - css mouseover effect bug only in firefox -


currently facing problem in css mouseover effect created.

if have @ http://176.32.230.21/luciaphotography.co.uk/ using chrome works fine, whenever mouse on of images, see relevant category image mouse over. in firefox, work if notice there 2 problems:

  1. the images not being resized properly, can see text on swatches blurry.

  2. (more important) if notice when mouseover, first image goes smaller , can see category image on right of picture (you'll see mean).

i'm not quite sure what's happening second problem not happen in internet explorer although first problem does. assum it's because i'm using ie9 , not 10.

i'm using latest versions of chrome , ff.

<div id="widget1" class="widget-container">          <div class="textwidget">     <a href="#">         <img class="bottom" src="images/editorial.png">         <img class="top" src="images/front1.png">     </a> </div> 

.widget-container {     height: 155px;     width:155px;     padding-right:2px;     padding-left: 2px;     float: left;     position: relative;     margin: 0 auto; }  .widget-container img.top:hover {     opacity: 0; } .widget-container img {     position: absolute;     left: 0;     -webkit-transition: opacity 1s ease-in-out;     -moz-transition: opacity 1s ease-in-out;     -o-transition: opacity 1s ease-in-out;     transition: opacity 1s ease-in-out; }  .bottom {     max-width: 155px;     max-height: 155px; }  .top {     max-width: 155px;     max-height: 155px; } 


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -