Attribute for <LEGEND ...>
ALIGN = RIGHT | CENTER | LEFT

Usage Recommendation
use it, but watch for overformatting

ALIGN align the <LEGEND ...> text left, center, or right:

This code:

<FIELDSET>
<LEGEND ALIGN=LEFT>Personal Stuff</LEGEND><P>
name: <INPUT NAME="realname"><BR>
email: <INPUT NAME="email">
</FIELDSET><P>
<FIELDSET>
<LEGEND ALIGN=CENTER>Survey</LEGEND><P>
favorite color: <INPUT NAME="favecolor"><BR>
<INPUT TYPE=CHECKBOX NAME="favecolor"> like green onions<BR>
<INPUT TYPE=CHECKBOX NAME="onions">    like cookies<BR>
<INPUT TYPE=CHECKBOX NAME="kimchee">   like kim chee<BR>
</FIELDSET><P>
<FIELDSET>
<LEGEND ALIGN=RIGHT>Misc</LEGEND><P>
other comments:<BR>
<TEXTAREA NAME="comments" ROWS=5 COLS=25></TEXTAREA>
</FIELDSET>

produces these fieldsets:

Personal Stuff

name:
email:

Survey

favorite color:
like green onions
like cookies
like kim chee

Misc

other comments:





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.