Suppose I have the following HTML:
<form id="aForm">
<fieldset>
<legend>fieldset 1</legend>
</fieldset>
<fieldset>
<legend>fieldset 2</legend>
</fieldset>
<fieldset>
<legend>fieldset 3</legend>
</fieldset>
</form>
I want all of the fieldsets except the first to have a margin above them, so I tried the following CSS:
#aForm fieldset:not(first-of-type) {
margin-top: 50px;
}
I keep fiddling around with the CSS, trying different things, but I can't seem to figure out how to not select the first fieldset.
JSFiddle: http://jsfiddle.net/nLwyK/
I know this is possible to do, so how do I do it?