Solution to the problem of incomplete display of DIV border_Experience exchange

WBOY
Release: 2016-05-16 12:05:37
Original
2717 people have browsed it

The first time I encountered such a problem, it was that part of the border of the defined div could not be displayed. But in firefox everything is normal, damn ie, it's too much.
There is no problem with the code. I checked a lot of information and searched many websites on Baidu, but I couldn’t find a solution in blueidea. Later, I found a few solutions on a website in Taiwan:
As follows:

The borders on the left and right sides are not displayed, which will make you angry~~depressed,
The css is:

Copy the code The code is as follows:

#divproject {
margin-top: 5px; border: 1px solid #0099CC;
}


Later, according to the introduction of that website, I added a sentence
Copy code The code is as follows:

#divproject {
margin-top: 5px;
border: 1px solid #0099CC; background-color: #FFFFFF;
}


In fact, the problem can be solved by just adding a background to the div in the border
This way it can be solved ~ I hope Can help others.​
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!