form and buttons in table

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Werner Partner

    form and buttons in table

    I made a little menue system (by php) and now have some problems with
    html.

    It looks like that:

    <table border>
    [...]
    <tr><td width=350><form action="pkartei .php" style="margin: 0"
    method="post">
    <input type="Submit" name="submit" value="Patiente nkartei" width="350">
    <input type="hidden" name="mnr" value="1">
    <input type="hidden" name="key" value="3">
    <input type="hidden" name="ziel"
    value="pkartei. php"></form></td></tr>
    [...]
    </table>

    There are different effects.

    Netscape 4.78 shows the Buttons with the correct width, but in the cells
    of the table there is space under the Button. The reason are the hidden
    fields. When I remove them, the cell is as large as the button. There is
    no effect if I change the design e.g. "<input ...><input .... ><input
    ....>". style="margin: 0" has no effect.

    IE5 shows the table correctly, but the size of the buttons is noit
    correct. If I use "size" instead if "width" (as suggested in selfhtml)
    there is no effect. Netscape 4.78 does it correctly with "width", but
    not with "size".

    Two questions:
    1. How do I get the space away in the cells under the buttons?
    2. How do I succeed getting the buttons as long as the cell of the
    table?


    You can see the different results (not all functions are realized yet)
    under:



    Thanks

    Werner

    --
    -----------------------------------------------------------
    Werner Partner * Tel +49 2366 886606 * Fax: 886608
    mailto:kairos@s onoptikon.de * http://www.sonoptikon.de
    hören Sie Klassik: http://www.drmk.ch/
Working...