adjust margins and <li> display attribute