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
Solved

ASP.net technique positioning labels above text boxes

Posted on 2011-03-22
3
405 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 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:murbro
ID: 35194042
thanks very much
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading the Web.Config using IIS 7.5? 4 49
Deploying to Azure 3 39
jquery + C#.net radiobuttonlist 3 30
call a controller action method from Global.asax in asp.net 1 20
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…
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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