HTML layout improvements