Move styles to a css file
Fix empty html case