I'm having trouble setting the style of the first div within a fieldset in IE 8. I've tried various methods like :first, first-child, etc but nothing seems to be working. Does anyone have suggestions on how to make it work in IE 8? Thank you!
Here is my current CSS:
.partialViewContainer > fieldset > div:first-child {
border: 1px solid red;
}
And here is the HTML:
<div class="partialViewContainer">
<fieldset>
<div>some content</div>
<div>some content</div>
</fieldset>
</div>