In the example below, we use the XHTML compound <label><em>…</em>&lt/label>to provide the information that certain fields are required.

We also use absolute positioning for the asterisk to remove it from the flow, and position it 32 ems from the left. All measurements within each form control are relative, helping the form to scale as necessary, and to place the asterisk visually to the right of the input control.

Add New User

User Details