blob: 07c9da85b5347bdd2b01f3b52221dc791ed8a6f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<!DOCTYPE html>
<style>
.fieldset {
border: 2px solid gray;
margin: 1em;
padding: 0;
width: 20em;
}
.f1 {
overflow: auto;
max-height: 3em;
}
.f2 {
max-height: 0;
}
</style>
<div class="fieldset f1">
<div>foo</div>
<div>foo</div>
<div>foo</div>
<div>foo</div>
<div>foo</div>
</div>
<div class="fieldset f1">
<div>foo</div>
</div>
<div class="fieldset f2">
<div>foo</div>
</div>
|