You can use one block for height of li and div and second for rest instead of creating separate blocks.