Consistent, cross-browser legend positioning within fieldsets

Related blog post

All fieldsets should have rounded corners using CSS border-radius

Legend This is a natural fieldset with a real <legend> element.
Legend This is a natural fieldset with a real <legend> element. It includes padding fixes that bring the IE rendering more in line with other browsers.
Legend This is a mockup fieldset with a <span> element substituted for the <legend> element.
Legend This is a natural fieldset with a real <legend> element. A padding of 40px all around has been added to the fieldset. Compare in IE8.
Legend This is a mockup fieldset with a <span> element substituted for the <legend> element. A padding of 40px all around has been added to the fieldset.