Home >Web Front-end >HTML Tutorial >I don't understand this code_html/css_WEB-ITnose

I don't understand this code_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 12:19:26973browse

div

I don’t understand this set of codes

Reply to discussion (solution)

Your above understanding is correct, but you ignore it A little difference (the body element and the margins of the second div b are merged), which makes the top margin of b outside the content of the body, while a is a floating element and the margins will not overlap, and all a is entirely inside the body ( (As long as there are no size restrictions on the body), that’s all

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