margin纵向重叠的问题 答案:15px 相邻元素的margin-top和margin-bottom会发生重叠(必须记住)空白内容的也会重叠 核心代码演示: <style> p{ font-size: 16px; line-height: 1; margin-top: 10px; margin-bottom:15px; } </style> </head> <body> <p>AAA</p> <P></P> <P></P> <P></P> <P>BBB</P> </body>