Results 1 to 7 of 7

Thread: [Resolved] HTML: INPUT field resizes to size of text?

Threaded View

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] HTML: INPUT field resizes to size of text?

    My problem lies in code like this:

    Code:
    <table border="1" style="width: 45%;">
        <tr>
            <td style="width: 30%;">Your Name :</td>
            <td style="width: 70%;">
                <input type="text" name="textbox" value="[long text here]" style="width: 100%;">
            </td>
        </tr>
    </table>
    Rather than fitting to the 70%, the input field will make itself the entire width of the text. How can I make it just size to the 70%?
    Last edited by The Hobo; Jul 1st, 2003 at 01:30 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width