Home > Web Front-end > HTML Tutorial > ?丝求助个CSS问题_html/css_WEB-ITnose

?丝求助个CSS问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:39:50
Original
826 people have browsed it

本帖最后由 hxr009 于 2012-11-30 18:53:13 编辑

这个页面是做瀑布流效果 可是DIV框会重叠在一起 如何拉开隔出间距

 如图



网址: www.wenpic.com

回复讨论(解决方案)

<!DOCTYPE html><html><head><style>#page {background:red;width:200px;margin-right:auto;margin-left:auto;}#d1 {height:100px;background:green;}#d2 {height:100px;margin-top:50px;background:black;}</style></head><body><div id="page"><div id="d1">1</div><div id="d2">2</div></div></body></html>
Copy after login

XML/HTML code??12345678910111213141516nbsp;html>

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