format css and prevent clicking on table headers