Treehouse: Grow your CSS skills. Land your dream job.

UL indent

  • # November 1, 2008 at 5:23 pm

    Is there a way to remove the indent caused by a ul element once you’ve set the list-style to none?

    # November 1, 2008 at 7:38 pm

    have you tried putting the margin or padding to 0?

    # November 2, 2008 at 4:04 pm

    yeah, unfortunately both the 0 padding and 0 margin didn’t affect it

    # November 2, 2008 at 5:57 pm

    have you got a code example?

    # November 3, 2008 at 12:42 am

    Are you seeing this problem in Internet Explorer?

    In that case, try adding


    That’s worked for me before; for some reason just because the list-style-type is none, Internet Explorer still insists on applying indent

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.