Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS UL indent

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23511
    mshort
    Member

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

    #50872
    Argeaux
    Participant

    have you tried putting the margin or padding to 0?

    #50876
    mshort
    Member

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

    #50877
    Argeaux
    Participant

    have you got a code example?

    #50888
    plin25
    Member

    Are you seeing this problem in Internet Explorer?

    In that case, try adding

    Code:
    list-style-position:outside;

    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)
  • The forum ‘CSS’ is closed to new topics and replies.