I have been puzzled about this for a while now. Here is what i have now:
-------------------------------------------------------------------------------
| | | |
| Item 1 | Item 2 | Last item |
| | | |
-------------------------------------------------------------------------------
There, the last li is only taking up part of the ul. I need it to look like this:
-------------------------------------------------------------------------------
| | | |
| Item 1 | Item 2 | Last item |
| | | |
-------------------------------------------------------------------------------
I can not use Javascript (or Jquery). I do not want to set the width of each li, since the text size could vary, and i do not know how many li's there will be. I might have 5 or 3.'
How would i accomplish this? Thanks.
Here is a jsfiddle with some of my code. I need the lighter color to expand the rest of the ul. JSFIDDLE