Solved

what is the best way to create an underline input

Posted on 2014-09-29
1
98 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

758 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

23 Experts available now in Live!

Get 1:1 Help Now