jdnnj (jdnnj) wrote in wwwstandards,
jdnnj
jdnnj
wwwstandards

  • Mood:
  • Music:

Formatting Forms

Is there a way to isolate styling to a <label> in the following exact instance:

<fieldset>
<legend>Billing Address</legend>
<div class="row"><label>name:<input type="text" size="40"></label></div>…

What I want to do is the typical label is right aligned to the input without using for="name"…id="name". I would like to avoid adding any additional class, spans or divs.

Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment