Home › Forums › CSS › Another div issue › Re: Another div issue
November 18, 2012 at 7:21 pm
#114678
TheDoc
Member
An ID should only appear on the page **once**.
You’d make it a lot easier on yourself if you indented your code. You could also really simplify things.
You could just do this for markup:
Then instead of having a useless spacer div, you can just put a top border on each of the `.bio` divs but take it away on the first child, like this:
.bios .bio:first-child {
border-top: none;
}