?
Solved

what is the best way to create an underline input

Posted on 2014-09-29
1
Medium Priority
?
108 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 2000 total points
ID: 40350275
<input type=text class="underline">

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

Featured Post

Independent Software Vendors: 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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 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