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

what is the best way to create an underline input

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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 …
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…

861 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