Solved

ASP.net technique positioning labels above text boxes

Posted on 2011-03-22
3
381 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:murbro
3 Comments
 
LVL 33

Expert Comment

by:paulmacd
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:murbro
ID: 35194042
thanks very much
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now