Why can it be completely covered by the background color of border:solid,?

before I add border:solid, it is shown below, and the background color of the top part is not available

clipboard.png

border:solid
clipboard.png
d.png](/img/bV87wK)

:

clipboard.png

Mar.04,2021

border prevents margin-top from collapsing.

to observe this phenomenon, you can replace border with outline.

to avoid margin-top problems, you can replace the container padding-top or change the container's overflow attribute.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e54c1e-452b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e54c1e-452b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?