Answer the question
In order to leave comments, you need to log in
Why do images dance in firefox/mozilla?
Good afternoon! I've been suffering for a week now, I hope here for the help of experienced people.
There is a page www.tendence.ru/test.html
To the right of the video, when you hover over the pictures, they begin to move out by 1 pixel.
And this is only in Mozilla Firefox, in other browsers everything is ok.
I use the following styles:
a img { border: none;}
.w90 a:hover img {
border: none; opacity:0.75; filter:alpha(opacity=75); /* For IE8 and earlier */
-webkit-transition: 0.5s;-moz-transition: 0.5s;-o-transition: 0.5s;-ms-transition: none;transition: 0.5s;
.w90 img{
width: 90px;
}
}
Answer the question
In order to leave comments, you need to log in
Personally, it doesn’t move out for me, but you can try to add it on img { display: block; } and check it.
Everything is fine with me too, so it's hard to say, but play around, look.
For example, set width: 90px; height: 90px; on a, a itself img width: 100%.
Does not help? sculpt overflow: hidden; on ashka.
Does not help? leave ashke w90; h90; and set the image as background.
Does not help? write, we will continue to fantasize:]
Everything seems to be ok.
Off topic, but add white space on top. The first impression is that the link is an anchor, I tried to scroll to the top of the page. It does not let go of the feeling that the page has been cut off. This is both ugly and confusing. Add some white space on top or a stripe of some kind.
If the page is exclusively test - then naturally do not pay attention)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question