# CSS: \<li\> and Width Problems

**URL:** <https://forum.kirupa.com/t/css-li-and-width-problems/63088>\
**Category:** Uncategorized\
**Created:** [September 2, 2004, 9:40pm UTC](https://forum.kirupa.com/t/css-li-and-width-problems/63088 "2004-09-02T21:40:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussianBeer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/russianbeer/32/152_2.png) [@RussianBeer](https://forum.kirupa.com/u/RussianBeer)\
**Post date:** [September 2, 2004, 9:40pm UTC](https://forum.kirupa.com/t/css-li-and-width-problems/63088/1 "2004-09-02T21:40:08Z")

</div>

Hey guys,

Im facing a real strange bug, I want my \< li \> tags to be a certain width, so using CSS I give them a width of 70%, but what it does is changes all the number in my list to 1.!

So for ex a list of  
[list=1]  
[_]hey  
[_]you  
[\*]there  
[/list]Becomes:

1. hey
2. you
3. there

If I remove my width element from the tag it works as normal but then I have other problems.

Thanks people

This is my CSS for the \< li \>tag.

Code:

[left]li { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000; margin: 0px; float:none; line-height: 20px; clear:none; text-align: left; width:70%; }[/left]

\</PRE\>

And this is my whole CSS file :[http://www.pacific-emarket.com/imts/imts.css](http://www.pacific-emarket.com/imts/imts.css)  
\<!-- / message --\>  
\<!-- / sig --\>

---

<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 3, 2004, 2:09pm UTC](https://forum.kirupa.com/t/css-li-and-width-problems/63088/2 "2004-09-03T14:09:32Z")

</div>

You try using a fixed width instead of a %?

---

<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 7, 2004, 9:07pm UTC](https://forum.kirupa.com/t/css-li-and-width-problems/63088/3 "2004-09-07T21:07:36Z")

</div>

Yep, same problem.

---

<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 8, 2004, 12:51am UTC](https://forum.kirupa.com/t/css-li-and-width-problems/63088/4 "2004-09-08T00:51:12Z")

</div>

cause i’m lazy can you post the html as well.
