I'm trying unsuccessfully to display in one line a start date and an end date on my form. I've been trying to do this with tables but it wants to display on two lines. I've tried several col widths, nowrap, multiple cells, and am really frustrated at this point. There is plenty of room to display it so I don't know what the problem is. Please help me. This is my latest table:
<tablewidth="100%"style="font-size: 9pt; font-family: Verdana">
<tr>
<tdnowrap="nowrap"style="width: 453px"> View Shipments From<scripttype="text/javascript">DateInput('txtFromDate',true,'MM-dd-yyyy')</script></td>
<td>To<scripttype="text/javascript">DateInput('txtToDate',true,'MM-dd-yyyy')</script></td>
</tr>
</table>
Why use tables? How about:
View Shipments From <script type="text/javascript">DateInput('txtFromDate', true, 'MM-dd-yyyy')</script>, To <script type="text/javascript">DateInput('txtToDate', true, 'MM-dd-yyyy')</script>
I haven't tried this, but i can't see why it shouldn't work. Let me know!
Yours Sincerely
Jens
I'm not sure what your DateInput javascript function does, but what you have there should display 2 columns on 1 row of a table as you would expect. Is this DateInput a javascript calendar component? If so, then it could be causing the symptoms.
No comments:
Post a Comment