The elements on this page re-arrange to fit as expected, classes and css control the width and height. Margins are working.
Hg
80
200.59
Te
52
127.6
Bi
83
208.980
Pb
82
207.2
Au
79
196.967
K
19
39.0983
Na
11
22.99
Cd
48
112.411
Ca
20
40.078
Re
75
186.207
Tl
81
204.383
Sb
51
121.76
Co
27
58.933
Yb
70
173.054
Ar
18
39.948
N
7
14.007
U
92
238.029
Pu
94
(244)