I have a UL with
border: 1px solid grey;
it contains several LIs with
border-bottom: 1px dotted grey;
to keep the items apart visually. But now the last LI has the dotted border and the UL solid border! This looks annoying. How can I avoid that? Is there a way to put borders between LIs instead of after them?