I have a list of divs which are used as a FAQ. Sometimes the divs are listed below each other, sometimes there is text between them. When they are listed below one other, I have
add this rule to your CSS
.faq + .faq
{
border-top: none;
}
Explanation: .faq that comes directly after another .faq dont get a top border.
.faq one after each other.See this Working Fiddle