Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

simple html form question

  • 30-08-2008 05:33PM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 Posts: 12,038 ✭✭✭✭Giblet


    Try a width style for the textbox as well.


  • Moderators, Science, Health & Environment Moderators Posts: 9,280 Mod ✭✭✭✭mewso


    Consider moving on from using tables for form layout.


Advertisement
Advertisement