How to apply design in table?