As I work on an HTML document, I encounter a challenge with styling fields that need to be dynamically filled and underlined. Here is what I am aiming to achieve:
"Applicant's Last Name:_________bar_____________ First Name:_________foo_____________"
for the first row, followed by:
"School Name"_Some name_______________________________________________________"
I want the text filled dynamically to align as if handwritten, but I struggle with determining its length and applying CSS properly. My attempt with a table where static text in one <td>
and the underline in another <td>
failed when trying to format it for the second row. In theory, I would have 2 <td>
elements with different widths compared to the four <td>
elements in the first row.