bulleted list with hanging indent


/ Published in: CSS
Save to your folder(s)

A helpful article - http://alistapart.com/article/taminglists/


Copy this code and paste it in your HTML
  1. ul li {
  2. list-style-type: disc;
  3. list-style-image: url(bullet.gif);
  4. list-style-position: inside;
  5. margin-left: 0;
  6. padding-left: 1em;
  7. text-indent: -1em;
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.