
Ik heb momenteel 5 tabellen, ik wil dat tabel 2 onder tabel 1 komt, zodat als ik nieuwe tabellen toevoeg deze weer onder de andere tabellen komen
Wat ik al heb geprobeerd:
- clear: left; - Dit zorgt ervoor dat de tabel op de juiste plek komt, echter schuiven alle tabellen dan naar beneden naar het niveau van de laagste tabel
- display: block; - geen effect
- tabellen allemaal wat groter maken tot het scherm vullend is, daarna tabel 2 op de 5de plek gezet. Hierbij komt hij wel op de goede plek maar op een nieuwe regel(dus een groot stuk ruimte tussen te tabellen)
de CSS:
Cascading Stylesheet:
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
| body { font-family: Arial,Helvetica,sans-serif; font-size: 12px; } table { border-collapse:separate; border-spacing: 10px 2px; } th, td { border-bottom: 1px solid gainsboro; } .colL { vertical-align:text-top; text-align: left; } .colM { vertical-align:text-top; text-align: center; } .colR { vertical-align:text-top; text-align: right; } #offlineagents { float:left; height:250px; width:280px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #onoff { float:left; height:50px width:180px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #tickets { float:left; height:100px; width:135px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #Telefonie { float:left; /* height:200px; */ width:180px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; clear: left; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #Dagen { float:left; /* height:200px; */ width:180px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; clear: left; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #lowdisk { float:left; width:450px; height:250px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #alarms { float:left; width:550px; height:250px; border:1px solid gray; overflow:auto; padding:2px; margin:2px; box-shadow: 1px 1px 1px #999; border-radius: 15px; } #offlinelist { border:0; width:inherited; height:inherited; } #lowdisklist { border:0; width:inherited; height:inherited; } #topbox { border:1px solid gray; clear:both; overflow:hidden; background:#f0f0f0; } #header { float:left; width:79%; overflow:hidden; font-family: Arial,Helvetica,sans-serif; font-size: 36px; color: #3f3f3f; text-align: center; } #dtime { float:right; width:15%; overflow:hidden; font-family: Arial,Helvetica,sans-serif; font-size: 18px; color: #3f3f3f; text-align: center; } #heading { font-family: Arial,Helvetica,sans-serif; font-size: 18px; color: #009933; } |
De HTML:
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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>NOC Chart Netwerk</title> <link rel="stylesheet" type="text/css" href="mytech.css"> </head> <body onload="refresh();"> <script src="jquery-1.9.1.min.js"></script> <div id="topbox"> <div id="header"> <img src="logo.png" alt="My NOC" align="left"> </div> <div id="dtime" name="dtime"> </div> </div> <div id="onoff" name="onoff"> </div> <div id="tickets" name="tickets"> </div> <div id="alarms" name="alarms"> </div> <div id="offlineagents" name="offlineagents"> </div> <div id="lowdisk" name="lowdisk"> </div> |
PoSh Fan? Automation? RMM? blog - op zoek naar een nieuwe job? kijk dan hier.
