Answer the question
In order to leave comments, you need to log in
Where did 0.01 pixels go? And how did it happen that the pixels became fractional?
My icons are slightly cropped (it's 16 pixels high). I tried to find out and found that the container where the icons are inserted as a background is 15.99 pixels high:
Where did 0.01 pixels go?
How do I make the container exactly 16 pixels high?
Here is the CSS style of the container (I think that there is nothing like this in it):
.x-tool-tool-el {
overflow: hidden;
width: 16px;
height: 16px;
margin: 0;
color: #fff;
text-align: center;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
opacity: 0.8;
}
Answer the question
In order to leave comments, you need to log in
I noticed that Chrome likes to split into hundredths and thousandths. I didn't notice this in Mozilla. Well, actually scored on a similar problem - no one noticed. Still, a pixel is perfect, not half a pixel perfect))
in css, fractional parts of a pixel, paradoxically - but there are https://habrahabr.ru/post/252395/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question