Solved

what is the best way to create an underline input

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Changing Color of Page Section 4 26
Insert Button on a table 16 47
Character counter breaks after adding EmojiOne Area 4 51
Fix Form size HTML 16 31
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…
Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

733 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