I have a list:
- Number 1
- Number 2
- Number 3
...
All
This isn't a direct answer to your question, but as an alternative could you consider using display:inline-block
? These days I just use that instead of float
where possible, as essentially most of the time it can achieve the same sort of objective without the total hassle of making containers properly contain inner floating elements and having to clear
them all the time.