Various html css bug fixes