joemamahunt Posted September 9, 2007 Share Posted September 9, 2007 What is the proper use of the input tag in a td? I get about 40 errors just for this. <tr> <td style="font-size: small;"> <br /> <form style="position: relative; display: inline;" action="..." method="post"> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="hidden" ... /> <input type="submit" ... /> </form> </td> </tr> Quote Link to comment https://forums.phpfreaks.com/topic/68559-solved-xhtml-valid-use-of-input-tag-in-a-table/ Share on other sites More sharing options...
joemamahunt Posted September 9, 2007 Author Share Posted September 9, 2007 Nevermind, I guess I gotta follow the advice of this error: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag. <p> works fine. (inside <form>) Quote Link to comment https://forums.phpfreaks.com/topic/68559-solved-xhtml-valid-use-of-input-tag-in-a-table/#findComment-344640 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.