K
K
kimqar_ver2020-05-11 00:37:18
css
kimqar_ver, 2020-05-11 00:37:18

Border over image issue in some browsers?

They threw off a screenshot that the picture overlaps the border. I checked it in the new browser Yandex / google / opera and even in the new ie, the border is displayed normally. I didn’t believe it, I asked for a screenshot, they threw it off: 5eb873e97f7a3886673872.png
What could be the problem?
Website: reacenterkrd.com

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Proskurin, 2020-05-11
@kimqar_ver

The screenshot shows that the page view scale has been changed in the browser. Nothing can be done about this, the browser simply does not know how to display 1px with a scale of 90%, from which such artifacts.

S
sldo_ru, 2020-05-11
@sldo_ru

Try using the outline property instead of border, it should work.
More or less like this:

elem {
    outline: 2px solid #60bf24;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question