Results 1 to 5 of 5

Thread: buttons

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post buttons

    how do i get my buttons to go underneath each other rather than them being in a row?

  2. #2
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    too little data to provide an answer. Please give more details. Please provide your code.
    Ryan
    Sevierville, TN

  3. #3
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry

    Code:
    <td><input id="A" type="button" value="A" onclick="clicked(this);" /></td>
    <td><input id="B" type="button" value="B" onclick="clicked(this);" /></td>
    these buttons are in a row but i want them placed underneath each other instead.

  4. #4
    Join Date
    Apr 2006
    Posts
    190
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default

    Well that is html and not javascript

    This well put them underneath each other.
    Code:
    <tr><td><input id="A" type="button" value="A" onclick="clicked(this);" /></td></tr>
    <tr><td><input id="B" type="button" value="B" onclick="clicked(this);" /></td></tr>
    Note the added<tr>.

    <TABLE> (Opening Table)
    <TR> (New Row) <TD> (New Column)
    </TR> (Close Row) </TD> (Close Column)
    </TABLE> (Closes table)
    Ryan
    Sevierville, TN

  5. #5
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks

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
  •