# Trying to use \<li\> for links with css

**URL:** <https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914>\
**Category:** Uncategorized\
**Created:** [September 30, 2004, 3:50pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914 "2004-09-30T15:50:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathari](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kathari](https://forum.kirupa.com/u/kathari)\
**Post date:** [September 30, 2004, 3:50pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/1 "2004-09-30T15:50:06Z")

</div>

Hi all,  
I am trying to make a “dummy” for a website using css and without tables.  
I am using the ul and li tags to make a list of links that should have a definite size and border and not only text. But I can’t seem to get rid of the “indent” (I think it’s called) of the list items. I can of course remove any bullet or other item but the box with the text is still placed as if there was a bullet and it places the list way off to the right.  
Is there a way to remove this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 30, 2004, 3:52pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/2 "2004-09-30T15:52:04Z")

</div>

set the right margin (or all the margins if you want) to 0px.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 30, 2004, 3:53pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/3 "2004-09-30T15:53:25Z")

</div>

Gee, that was quick! I’ll check again but I think I have done it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 30, 2004, 3:55pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/4 "2004-09-30T15:55:25Z")

</div>

Yeah, I have set the li tag margins to 0. Not the ul tag though I haven’t defined that one (yet).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 30, 2004, 4:04pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/5 "2004-09-30T16:04:34Z")

</div>

See [http://css.maxdesign.com.au/listutorial/](http://css.maxdesign.com.au/listutorial/)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 30, 2004, 4:10pm UTC](https://forum.kirupa.com/t/trying-to-use-li-for-links-with-css/65914/6 "2004-09-30T16:10:49Z")

</div>

THANKS that did it! Still having the annoying problem with the text not centering vertically though…
