![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||||
| ||||||
|
|
Hi, i am stuck using older ASP and have to dinamically fill a converted-word file as a form. |
|
Letīs suppose a row on a table has the name of someone like in a declaration: span>Some random guy</span>, currently employed at ... |
|
The problem is that the location of the next part of the line ("currently employed") varies on the length of the text inside the span. |
|
Like if it was a real life form. |
|
I have decorated the span with text-decoration:underline; and tried to set a width but this doesn't work. |
|
Anyone has an idea, besides spending 300$ for asppdf and using PDF like i should be? |
#3
| ||||
| ||||
|
|
The problem is that the location of the next part of the line ("currently employed") varies on the length of the text inside the span. Right. And this is a _problem_ exactly how? |
|
You mean a paper form? Why? |
|
To produce a continuous line, why don't you use a sequence of underline characters "_"? |
|
Try telling the problem first. |
#4
| |||
| |||
|
|
The problem is that the location of the next part of the line ("currently employed") varies on the length of the text inside the span. Right. And this is a _problem_ exactly how? If the name is too long, it may cause the form to be bigger, and can't get printed on a single page. That is a problem. You mean a paper form? Why? We are an insurance company, and when a client request a policy over our website, we hand them a form so they cant print it. But since the previous guy on the job went and saved the word file as html, they want me to do it the same way, and save 300$ that would cost the asppdf plugin so i could give them a pdf form instead. |
#5
| |||
| |||
|
|
HTML is the wrong way to do this. If you want print forms, PDF is much better; you don't have to buy fancy software to make PDF files, there are free ways of doing it. |
#6
| |||
| |||
|
|
Jack <mrdemeanour (AT) nospam (DOT) jackpot.uk.net> scripsit: HTML is the wrong way to do this. If you want print forms, PDF is much better; you don't have to buy fancy software to make PDF files, there are free ways of doing it. If I worked for an insurance company, I would not expect a $300 software cost to be excessive. |
#7
| |||
| |||
|
|
Hi, i am stuck using older ASP and have to dinamically fill a converted-word file as a form. Letīs suppose a row on a table has the name of someone like in a declaration: span>Some random guy</span>, currently employed at ... The problem is that the location of the next part of the line ("currently employed") varies on the length of the text inside the span. So i want to somehow have a maximum width on the span, so if the length is too short it would look like this: Some random guy __________________________________________ , currently employed... Like if it was a real life form. I have decorated the span with text-decoration:underline; and tried to set a width but this doesn't work. |
#8
| |||
| |||
|
|
Besides which, any work-around will probably incur at least $300 in billable time in development and testing. |
#9
| |||
| |||
|
|
The only other alternative i know would be to nest tables inside tables, as much as necessary, to set widths on the <td>'s as needed. |
#10
| |||
| |||
|
|
Of course, one can set max-width for a <span> element. |
![]() |
| Thread Tools | |
| Display Modes | |
| |