Reduce the natural left space of a list

Discussion in 'CSS' started by +:::Spider25:::+, Apr 21, 2006.

  1. #1
    <div><ul >
    <LI style=" list-style-image:url(cross.png)">SHOW ON EARTH NOW TOGETHER</LI>
    <li style=" list-style-image:url(cross.png)">INTERVIEW WITH SPIDER WEB</LI>
    <LI style=" list-style-image:url(cross.png)">ARTS CONVENTION</LI>
    <LI style=" list-style-image:url(cross.png)">TOM PAINTER AND JASON MACCARTY BODY ART TATOO STUDIO</LI>
    </ul>
    </div>


    I want to reduce the left space of the list, I want the first item starts in the left border of the div.

    Thanks a lot
     
    +:::Spider25:::+, Apr 21, 2006 IP
  2. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should just have to set your padding and margins to 0px.

    Brandon
     
    brandondrury, Apr 21, 2006 IP
  3. +:::Spider25:::+

    +:::Spider25:::+ Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot Brandondrury,

    <UL "style="margin:0px;padding:0px">

    :)
     
    +:::Spider25:::+, Apr 22, 2006 IP