I see nothing wrong with your approach. I would however use a list item instead of the container div, and a main ‘ul’ to contain all ‘li’s. This is a listing, and , to me , it makes semantic sense to use an unordered list.
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘CSS’ is closed to new topics and replies.