Fix bug in html layout styles