ASP.net technique positioning labels above text boxes

Hi
Does anyone know of a technique for positioning labels neatly above text boxes on an ASP.net webform
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
DIVs would be a better semantic approach:
<div class="label">
     <label>First Name</label>
</div>
<div class="input-field">
   <input type="text" />
</div>

Open in new window

0
 
Paul MacDonaldDirector, Information SystemsCommented:
...
<label>First Name</label>
<br />
<input ID="txtFName" maxlength="50" runat="server" size="25" type="text" />
...
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.