WordPress.org

Ready to get started?Download WordPress

Forums

Can i flush li tags and ul tags? (2 posts)

  1. cherliloo
    Member
    Posted 5 years ago #

    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.

  2. whooami
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags