Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

simple html form question

Options
  • 30-08-2008 5:33pm
    #1
    Registered Users Posts: 8,070 ✭✭✭


    [PHP]
    <TD align="right">Name:</TD>
    <TD>
    <INPUT TYPE="TEXT" NAME="name" SIZE="25" class="inputtext" id="f1">
    </TD>
    </TR>

    <TR>
    <TD align="right">Address:</TD>
    <TD>
    <textarea NAME="address" cols="21" rows="2" wrap="on" style="overflow:hidden; width: 173px;" class="inputtext" id="fa"></textarea>
    </TD>

    </TR>

    [/PHP]

    Basically the width of the textinput area for address is shorter than the one for name, ive tried specifying an exact px width but it comes up different in IE.
    So using % its fine but i have some dynamic validation messages appearing beside them which change the width aswell, any suggestions? specify td width?

    edit: never mind, got it, damn ie/mozila incompatibilities


Comments

  • Registered Users Posts: 11,980 ✭✭✭✭Giblet


    Try a width style for the textbox as well.


  • Moderators, Science, Health & Environment Moderators Posts: 8,952 Mod ✭✭✭✭mewso


    Consider moving on from using tables for form layout.


Advertisement