Forum Moderators: open

Message Too Old, No Replies

form in the wrong place?

         

Balrog

6:11 pm on Jul 20, 2004 (gmt 0)

10+ Year Member



When I palce a form into my code the cell gets bigger why is this? Is there a way to get round this?
Also I am not able to put the <form> tags within <tr> tags.
I have just installed DW MX 2004 and it seems prity hot this when I validate my code.

txbakers

6:14 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<form style="margin:0"> will eliminate the top and bottom space normally accorded to a form element.

benihana

6:20 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<form> tags within <tr> tags.

you will need a <td> after the <tr>

Balrog

7:29 pm on Jul 20, 2004 (gmt 0)

10+ Year Member



Thanks alot people,great instant help.

BlobFisk

7:39 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A form is a block level element and should certainly not be placed after a <tr> and before a <td>. Technically it should not even be within a <td>, instead being placed before the <table>

However, to answer your question there is a CSS solution:


form {
display: inline;
margin: 0;
}

HTH