The label is not closed?  Where are you seeing this?

1 <div class="input text">
2   <label for="ArticleTitle">Title</label>
3   <input name="data[Article][title]" type="text" maxlength="255"
value="" id="ArticleTitle" />
4 </div>

Line 1, DIV opened.
Line 2, LABEL opened and closed.
Line 3, INPUT opened and closed.
Line 4, DIV closed.

Below is the full output again.  I have formatted the text to make it
a bit easier to read.

<form id="ArticleAddForm" method="post" action="/cake/articles/add">

  <fieldset style="display:none;">
    <input type="hidden" name="_method" value="POST" />
  </fieldset>

  <div class="input text">
    <label for="ArticleTitle">Title</label>
    <input name="data[Article][title]" type="text" maxlength="255"
value="" id="ArticleTitle" />
  </div>

  <div class="input textarea">
    <label for="ArticleBody">Body</label>
    <textarea name="data[Article][body]" cols="30" rows="3"
id="ArticleBody" ></textarea>
  </div>

  <div class="submit">
    <input type="submit" value="Save Post" />
  </div>

</form>

If I view this HTML in Firefox, it renders just fine.

On Nov 10, 5:58 pm, "Marcelo Andrade" <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 10, 2008 at 7:27 PM, jm <[EMAIL PROTECTED]> wrote:
>
> > text"><label for="ArticleTitle">Title</label><input name="data[Article]
> > [title]" type="text" maxlength="255" value="" id="ArticleTitle" /></
>
> The label tag it's not closed.
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE (aka "eleKtron")
> Belem, PA, Amazonia, Brazil
> Linux User #221105
>
> [EMAIL PROTECTED] ~]# linkshttp://pa.slackwarebrasil.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to