Elements within forms in vBulletin are often grouped inside a <fieldset> tag. The titles of these fieldsets are set inside <legend> tags, which take their styling from the <legend> class.For best results you should usually only specify attributes relating to the text/font for this class, as specifying other attributes such as background color may produce unpredictable results.
Example of element using this class:
<form> <fieldset> <legend>This uses the Legend class</legend> <div>Some form elements here...</div> </fieldset> </form>