[#1178] Small CSS tweaks and fix for premature closing div