Modify the display attribute of <li>