How do I make nested li\'s the same width?
When I use the below code each nested li is only as wide as it\'s text + margin.
I\'d like all of the li\'s to be
To make all of the list items the same length as the longest, you will need to manually set the widths. There is no pure CSS method of achieving this automatically as far as I know.
li{width:100%} Will make the list items fill the width of their container. If that is not set, then it will be the width of the user's browser window.