/    Sign up×
Community /Pin to ProfileBookmark

making a FORM on a row of a table

can i make a form on a row of a table and not on the whole table?
thnaks in advance
peleg

to post a comment
HTML

11 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYDec 05.2004 — do you mean in the <tr></tr> tags?

then yes you can
Copy linkTweet thisAlerts:
@pelegk1authorDec 05.2004 — i remember once that i tried to do something similar and i was told its ilegeal and mnmust be done on a table
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYDec 06.2004 — well, u can do it, i think it is indeed illegal (non-valid) html.

putting it in a table is equivalent. so u should try to do it in a div tag (<div></div>)
Copy linkTweet thisAlerts:
@Paul_JrDec 06.2004 — I was able to put a form in a table cell and have it validate HTML 4.01 Strict.
Copy linkTweet thisAlerts:
@pelegk1authorDec 06.2004 — I was able to put a form in a table cell and have it validate HTML 4.01 Strict[/QUOTE]
how did u validate it?
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYDec 06.2004 — http://validator.w3.org/

paul, well, then i was wrong, but anyway, i div is a good idea. isnt it?plus, i dont think a form is tabular data of any kind, so even if it is validated by the w3c,shouldnt it be avoided?

pelegk1, do u absolutely need it to be in a table row?
Copy linkTweet thisAlerts:
@pelegk1authorDec 06.2004 — but in that case

how do i build in a col a <FORM>?
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYDec 06.2004 — well correct me if im wrong, but i understood u wanted to put a <form></form> in a <table></table>

so it would be
[CODE]
<table>
<tr>
<td>
<form></form>
</td>
</tr>
</table>
[/CODE]


or what do u mean?

what i meant with the <div> is simply
[CODE]
<div>
<form></form>
</div>
[/CODE]
Copy linkTweet thisAlerts:
@Paul_JrDec 07.2004 — [i]Originally posted by LiLcRaZyFuZzY [/i]

[B]paul, well, then i was wrong, but anyway, i div is a good idea. isnt it?plus, i dont think a form is tabular data of any kind, so even if it is validated by the w3c,shouldnt it be avoided?[/B][/QUOTE]

That is absolutely correct. ?
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYDec 07.2004 — plus with a xhtml doctype, you will need divs enclosing all your forms elements(input, textarea, buttons) in order to make it validate, if i remember well, thats was a problem i once had
Copy linkTweet thisAlerts:
@Paul_JrDec 07.2004 — [i]Originally posted by LiLcRaZyFuZzY [/i]

[B]plus with a xhtml doctype, you will need divs enclosing all your forms elements(input, textarea, buttons) in order to make it validate, if i remember well, thats was a problem i once had [/B][/QUOTE]

You need a block-level element enclosing all your form controls. You could use a [font=courier]DIV[/font], or the [font=courier]FIELDSET[/font]/[font=courier]LEGEND[/font] elements. ?
×

Success!

Help @pelegk1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...