Here is some interesting behavior. Give this code snippet a try in
Firefox and see what happens when you try and click in the second text
input box.
Public Telephone Number:
-
(if 916-, xxx-, otherwise, xxx-xxx-)
Did you also get
>
> Public Telephone Number:
>
> value="" /> -
> maxlength= "8" value="" /> (if 916-, xxx-, otherwise, xxx-xxx-)
>
>
>
Is that valid? Surely it should look more like this
Foo
Bar
If you don't need the "bar" label, t
I tested it in Netscape and Opera. It did it in Netscape but not Opera. Not
sure what is causing it though.
Bruce
-Original Message-
From: Ian Skinner
Sent: Wednesday, August 29, 2007 9:28 AM
To: CF-Talk
Subject: SOT: Interesting Firefox behavior
Here is some interesting behavior
"Is that valid? Surely it should look more like this"
I don't know! Is there something that says there should only be a one to one
relationship with form controls and labels? In this example it is a phone
number, but we are providing an area code field and a number field. From a
display pers
"I tested it in Netscape and Opera. It did it in Netscape but not Opera. Not
sure what is causing it though."
I suspect it is that the browsers that exhibit this behavior have more complete
support for the label standard. The standard says that if a label is tied to a
control, clicking on the
On 8/29/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> "Is that valid? Surely it should look more like this"
>
> I don't know! Is there something that says there should only be a one to
> one relationship with form controls and labels? In this example it is a
> phone number, but we are providing
On 8/29/07, Ian Skinner wrote:
> >
> > Here is some interesting behavior. Give this code snippet a try in
> > Firefox and see what happens when you try and click in the second
text
> > input box.
> >
> >
> > Public Telephone Number:
> >
> > > value="" /> -
> >
It's the label, I'd guess- technically, they don't wrap like that.
Label should just have some text, really. You'll get all kinds of weird
stuff
when you wrap it around other elements, IIRC.
On 8/29/07, Ian Skinner wrote:
>
> Here is some interesting behavior. Give this code snippet a try in
Inline elements can usually contain other inline elements, according
to the HTML spec. Have you seen a spec that excludes label from this
rule?
On 8/31/07, Dinner <[EMAIL PROTECTED]> wrote:
> It's the label, I'd guess- technically, they don't wrap like that.
>
> Label should just have some text,
On 8/30/07, James Holmes wrote:
> Inline elements can usually contain other inline elements, according
> to the HTML spec. Have you seen a spec that excludes label from this
> rule?
At first glance the question hadn't seemed answered, sooo...
It was a kind of off the cuff type of comment. Anecdot
10 matches
Mail list logo