applyng style to li