I would like to achieve a design where there is a line between floating items displayed as follows:
..........................................
. .
. LI LI LI LI LI LI LI LI LI LI LI .
. -------------------------------- .
. LI LI LI LI LI LI LI LI LI LI LI .
. -------------------------------- .
. LI LI LI LI LI LI* .
. .
..........................................
*Please note that the last list items in the bottom row do not have a border/divider line.
I am working with pure UL/LI elements and would prefer not to add an extra class as it may make the HTML messy and less semantic.
Is there a way to accomplish this using only CSS?