Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72443

Underlining Entire Sections Regardless of Text

$
0
0

I need to replicate an old work form line for line with Django.

Some of the fields need to be underlined whether or not there is text.

For a visualization see the "above employee's skill and knowledge have been objectively evaluated..." field found here.

How would I add {{ data }} in the underlined section? Another complication that arises here is that it needs to wrap to a new line every time it reaches the end of a line.

My best guess is that a table with a bottom-border could somehow be used, but that would make it very difficult to wrap the paragraph at the end of lines.

My question was originally a bit vague so here is a simpler explanation. I need a section that ALWAYS has exactly 6 lines, all of it underlined, and {{ data }} can be inserted. This also needs to be word-wrap friendly.

I found a way to accomplish this. It's a bit of an ugly solution but I parsed {{ data }} and added a dynamic amount of underlined spaces based on data's length.


Viewing all articles
Browse latest Browse all 72443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>