forked from nurun/GLayout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
86 lines (86 loc) · 2.52 KB
/
example.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<body>
<hr style="clear:both" />
<h2>Without the script, the example described in the git hub page would go like this:</h2>
<hr style="clear:both" />
<div style="width:600px">
<div class="fn-adjust-line">
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0">Title of the box</h2>
<p class="description fn-adjust-1">
Blah blah Foo bar
</p>
<div class="links fn-adjust-2">
<a href="#">link 1</a><br />
<a href="#">link 2</a><br />
<a href="#">link 3</a>
</div>
</div>
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0">Title of the box</h2>
<p class="description fn-adjust-1">
Blah blah Foo bar<br />
ok ok !
</p>
<div class="links fn-adjust-2">
<a href="#">link 1</a><br />
<a href="#">link 1</a><br />
<a href="#">link 3</a>
</div>
</div>
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0">Title of the box<br /> on 2 lines</h2>
<p class="description fn-adjust-1">
Blah blah Foo bar<br />
Some text longer<br />
on multiple lines.
</p>
<div class="links fn-adjust-2">
<a href="#">link 1</a>
</div>
</div>
</div>
<hr style="clear:both" />
<h2>With the script (simulated):</h2>
<hr style="clear:both" />
<div class="fn-adjust-line">
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0" style="height:2em">Title of the box</h2>
<p class="description fn-adjust-1" style="height:3em">
Blah blah Foo bar
</p>
<div class="links fn-adjust-2" style="height:3em">
<a href="#">link 1</a><br />
<a href="#">link 2</a><br />
<a href="#">link 3</a>
</div>
</div>
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0" style="height:2em">Title of the box</h2>
<p class="description fn-adjust-1" style="height:3em">
Blah blah Foo bar<br />
ok ok !
</p>
<div class="links fn-adjust-2" style="height:3em">
<a href="#">link 1</a><br />
<a href="#">link 1</a><br />
<a href="#">link 3</a>
</div>
</div>
<div class="some-class" style="float:left;width:33%">
<h2 class="title fn-adjust-0" style="height:2em">Title of the box<br /> on 2 lines</h2>
<p class="description fn-adjust-1" style="height:3em">
Blah blah Foo bar<br />
Some text longer<br />
on multiple lines.
</p>
<div class="links fn-adjust-2" style="height:3em">
<a href="#">link 1</a>
</div>
</div>
</div>
</div>
</body>
</html>