Change border to dashed, move text for dividers above the line.
Rework applying padding to elements.

Change from using integer offsetTop/offsetHeight to non-integer, floating point getBoundingClientRect()