Solved

what is the best way to create an underline input

Posted on 2014-09-29
1
102 Views
Last Modified: 2014-09-29
I'm creating a web form that renders as a PDF.  I'm pulling in a lot of values from a database to populate fields on the form.  There are some other areas of the forms that will require manual input once the form is printed out.  This is a legal form and the layout has to be exact.  For input areas of the form, I need to create underlines for where the user would manually enter signatures, dates, and even some of the inputs will pull the values from the database, but still need to be underlined areas in the document.  What is the best way to mimic this underline input areas using CSS?  I could add the underline character, but then if a value gets pulled into the document is would show like this "_______________ my text ________".  I don't want the line broken up  How can I achieve this using CSS and when a value is pulled in from the database it still looks good with the line not getting broken up?

Thanks.
0
Comment
Question by:-Dman100-
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40350275
<input type=text class="underline">

CSS
.underline {
border:none;
border-bottom:1px solid black;
}
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

776 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