Solved

ASP.net technique positioning labels above text boxes

Posted on 2011-03-22
3
416 Views
Last Modified: 2012-05-11
Hi
Does anyone know of a technique for positioning labels neatly above text boxes on an ASP.net webform
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35190034
...
<label>First Name</label>
<br />
<input ID="txtFName" maxlength="50" runat="server" size="25" type="text" />
...
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35190368
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
 

Author Closing Comment

by:Murray Brown
ID: 35194042
thanks very much
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question