Ok Eno,
I visited that link and I did not thrilled because I found something
wrong again:
<form action="/frontend_dev.php/contact/submit" method="POST">
<table>
<!-- Beginning of generated code by <?php echo $form ?>
-->
<tr>
<th><label for="name">Name</label></th>
<td><input type="text" name="name" id="name" /></td>
</tr>
<tr>
<th><label for="email">Email</label></th>
<td><input type="text" name="email" id="email" /></td>
</tr>
<tr>
<th><label for="message">Message</label></th>
<td><textarea rows="4" cols="30" name="message" id="message"></
textarea></td>
</tr>
<!-- End of generated code by <?php echo $form ?>
-->
<tr>
<td colspan="2">
<input type="submit" />
</td>
</tr>
</table>
</form>
So, what is the problem here:
<th> tag within the HTML table should never be used
outside <thead> </thead>, because each web browser
could interpreted this in different ways! Now I understand
better why most of you loves the Symfony Form
framework - most obviously does not even basic
knowledge of the HTML.
WBR,
Ghost3D
On Sep 25, 12:11 am, Eno <[email protected]> wrote:
> On Thu, 24 Sep 2009, bghost wrote:
> > This is bad formatted HTML - where is <table> tag? Using <tr>, <th>
> > and <td> without table - terrible !
>
> As the example in the docs show, *you* must supply that:
>
> http://www.symfony-project.org/forms/1_2/en/01-Form-Creation#chapter_...
>
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---