求助, DIV排列的问题_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:13:51
Original
935 people have browsed it



这8个卡片是.8个DIV 高度不固定, 我怎么让他们一行一行的排列.而不是这样乱排列?  如果浏览器小的话 每行可能会排成2个.

请高人帮忙 谢谢啦


回复讨论(解决方案)

可以去参考
超酷的瀑布流特效动画

你可以确实的是只有3列撒????那么你就搞3个DIV 每个DIV确定宽度,高度不确定,然后你可以把你这些内容地 DIV放在那大的3个DIV中,这样就可以额

nbsp;html>

























<script></script>
<script> <br /> $().ready(function(e) { <br /> <br /> }); <br /> </script>


简单例子 你可以自己改改 方能实现
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!