design constructor of header and fix css for it