Fixes css and implements the table wrapping method