Ready to get started?Download WordPress


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

  1. cherliloo
    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
    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>

    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