html layout of calendar with limitations in using classes