代码中并未设置margin的值,为何会显示每个边框之间有间距呢?
我喜欢晴天
我喜欢晴天 2016-12-21 10:43:29
0
2
875

代码中并未设置margin的值,为何会显示每个边框之间有间距呢?

我喜欢晴天
我喜欢晴天

reply all(2)
数据分析师

The margin value is not set in the code, so why is there a gap between each border? -PHP Chinese website Q&A-The margin value is not set in the code, why is there a gap between each border? -PHP Chinese website Q&A

Please watch and learn.

阿神

每个浏览器都会对HTML进行一定的格式化,所以会出现边距,字体大小这些不同的样式,而且这种预定义的语义在不同浏览器中往往有很多差别,所以在实际的开发中往往需要使用reset css来消除这些差别。

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!