Home >Web Front-end >CSS Tutorial >Solution to the problem that the border disappears when the scroll bar is dragged in IE_Experience exchange

Solution to the problem that the border disappears when the scroll bar is dragged in IE_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:09:362448browse

Usually I use DIV plus border to define the edges, but sometimes I find that the border often disappears when dragging the scroll bar in IE, and comes back when you refresh it.
I have thought about this problem for a long time but have not figured out the reason, so this problem exists in some pages written before using DIV+CSS.
Today, this problem really affects the final result, so I found a tip: "I thought adding a height to the DIV can solve it."
Here is a before and after comparison picture.


As for the cause of this problem, I think it is a BUG in IE. This problem will not occur when you use Mozilla Firefox / Opera.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn