[英]How can I show and hide different <section> of my html page using jquery?
[英]How to break the html page in different section?
我在頁面中使用了兩個div標簽(即),一個像書一樣在左邊,另一個在右邊。 現在我在左側加載html頁面,如果超出則轉到div標簽的右側。 給我一個實現的想法。
謝謝你找
是的,CSS3,您可以將多列布局與css類中指定的Height一起使用。
<html>
<head>Test </head>
<style>
.tt{
-moz-column-count: 2;
-moz-column-gap: 1em;
-moz-column-rule: 1px solid black;
-webkit-column-count: 2;
-webkit-column-gap: 1em;
-webkit-column-rule: 1px solid black;
height:200px;
}
</style>
<body>
<div class="tt">
HTML5 and CSS3 have just arrived. HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived.HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived. HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived.HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived. HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived.HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived. HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived.HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived. HTML5 and CSS3 have just arrived.
HTML5 and CSS3 have just arrived.HTML5 and CSS3 have just arrived.
</div>
</body>
</html>
我不是微軟的粉絲。 因此,對於IE來說毫無希望。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.