WordPress.org

Support

Support » Themes and Templates » Can i flush li tags and ul tags?

Can i flush li tags and ul tags?

  • cherliloo
    Member

    @cherliloo

    Is there a css attribute that make li tags flush with ul tag alignment?
    I can’t seem to get find a solution to this.

Viewing 1 replies (of 1 total)
  • whooami
    Member

    @whooami

    given the following:

    <ul>this is a list
    <li>item 1</li>
    <li>item 2</li>
    <li>item 3</li>
    <li>item 4</li>
    <li>item 5</li>
    </ul>

    applying li {list-style: none;} outputs a list where the bullets are removed, and all of the text is aligned flush on the left hand side.

Viewing 1 replies (of 1 total)
  • The topic ‘Can i flush li tags and ul tags?’ is closed to new replies.