Results 1 to 1 of 1

Thread: Jason's calendar:text and input box alingnment

  1. #1
    Join Date
    Jun 2007
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Jason's calendar:text and input box alingnment

    1) Script Title: Jason's Date Input Calendar

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...oncalendar.htm

    3) Describe problem: Is there any way of aligning text and the input boxes without putting each into cells of a table?

    On my HTML 4.01 strict test page the following code generates a two-line rendering (with different gaps between the lines in FF2 and IE7) for Test 1
    Code:
    <p><strong>Test 1 text</strong><script type="text/javascript">DateInput('Outdate', true)</script></p>
    I had problems styling the location of the input boxes until I dropped text and the script into a table - Test 2
    Code:
    <table style="float:right">
    <tr>
    <td><strong>Test 2 text</strong></td><td><script type="text/javascript">DateInput('Outdate', true)</script></td>
    </tr>
    </table>
    But is there any script I can change so that I do not have to use a table to style location? And yes, I know the result of the script is itself produces a table.
    Last edited by kiwibrit; 06-12-2007 at 12:17 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •