Re: It's a bug (input type="text")

Discussion in 'HTML' started by Steve Pugh, Jul 6, 2003.

  1. Steve Pugh

    Steve Pugh Guest

    "William Tasso" <> wrote:

    >Well it doesn't work as intended, but is it me or is it Opera?
    >
    >http://www.WilliamTasso.com/wt/contact.asp
    >
    >The two input boxes at the bottom of the form don't want to play nice - they
    >appear reluctant to accept any input - in Opera 7.11


    Seems to be the <label> elements causing the problem. When I removed
    them it worked as normal.

    I vaguely recall that Opera only supports label via the for="id"
    construct. Adding that to the labels fixes the problem.

    Steve

    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
    Steve Pugh, Jul 6, 2003
    #1
    1. Advertising

  2. Steve Pugh wrote:
    > "William Tasso" <> wrote:
    >
    >> Well it doesn't work as intended, but is it me or is it Opera?
    >>
    >> http://www.WilliamTasso.com/wt/contact.asp
    >>

    >
    > I vaguely recall that Opera only supports label via the for="id"
    > construct. Adding that to the labels fixes the problem.


    so it does - cheers.

    --
    William Tasso - http://www.WilliamTasso.com
    William Tasso, Jul 7, 2003
    #2
    1. Advertising

  3. Steve Pugh

    Adrienne Guest

    Gazing into my crystal ball I observed "William Tasso" <>
    writing in news:beaa38$2u048$:

    > Steve Pugh wrote:
    >> "William Tasso" <> wrote:
    >>
    >>> Well it doesn't work as intended, but is it me or is it Opera?
    >>>
    >>> http://www.WilliamTasso.com/wt/contact.asp
    >>>

    >>
    >> I vaguely recall that Opera only supports label via the for="id"
    >> construct. Adding that to the labels fixes the problem.

    >
    > so it does - cheers.
    >


    Hurray! Good thing to know. I always put for="id" in my labels, but if
    one doesn't work, I'll know now what to look for.

    --
    Adrienne Boswell
    Please respond to the group so others can share
    http://www.arbpen.com
    Adrienne, Jul 7, 2003
    #3
  4. In article <>, Steve Pugh
    wrote:
    > "William Tasso" <> wrote:
    >
    > >Well it doesn't work as intended, but is it me or is it Opera?
    > >
    > >http://www.WilliamTasso.com/wt/contact.asp
    > >
    > >The two input boxes at the bottom of the form don't want to play nice - they
    > >appear reluctant to accept any input - in Opera 7.11

    >
    > Seems to be the <label> elements causing the problem. When I removed
    > them it worked as normal.


    I tried with Opera 7.2b1, and there didn't seem to be problem, also
    whitout for="XX" atributes. OTOH, I don't know if something else was
    changed.

    > I vaguely recall that Opera only supports label via the for="id"
    > construct. Adding that to the labels fixes the problem.


    No, 7.x versions are supposed to support both ways. And not supporting
    label shouldn't cause this kind of problem.

    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
    tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
    Lauri Raittila, Jul 7, 2003
    #4
  5. Steve Pugh

    Steve Pugh Guest

    Lauri Raittila <> wrote:
    >In article <>, Steve Pugh
    >wrote:


    >> I vaguely recall that Opera only supports label via the for="id"
    >> construct. Adding that to the labels fixes the problem.

    >
    >No, 7.x versions are supposed to support both ways.


    Must be an old memory then.

    >And not supporting
    >label shouldn't cause this kind of problem.


    I completely agree that this problem shouldn't occur at all.

    I think the fact that there are two different <input>s inside the
    <label> is a factor. The problem didn't occur with the inputs earlier
    in the page where there was just one input in each label.

    Steve
    --
    "My theories appal you, my heresies outrage you,
    I never answer letters and you don't like my tie." - The Doctor

    Steve Pugh <> <http://steve.pugh.net/>
    Steve Pugh, Jul 7, 2003
    #5
  6. In article <>, Steve Pugh
    wrote:
    > Lauri Raittila <> wrote:
    > >In article <>, Steve Pugh
    > >wrote:


    > I think the fact that there are two different <input>s inside the
    > <label> is a factor.


    Propably, as it is incorrect HTML:
    http://www.w3.org/TR/html4/interact/forms.html#idx-label-1
    | In this case, the LABEL may only contain one control element

    IIANM, it is not invalid, so it is not that easy to spot.

    > The problem didn't occur with the inputs earlier
    > in the page where there was just one input in each label.


    People, if you send some problematic page and ask what is wrong, please
    use URL that don't change in next few days. Otherwise people will get
    wrong idea when you fix it. I can't reproduce problem, but I'm using
    newer version.

    --
    Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
    Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
    tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
    Lauri Raittila, Jul 8, 2003
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. picayunish

    Re: It's a bug (input type="text")

    picayunish, Jul 6, 2003, in forum: HTML
    Replies:
    3
    Views:
    424
    Michael Wilcox
    Jul 7, 2003
  2. Adrienne
    Replies:
    1
    Views:
    368
    Adrienne
    Jul 7, 2003
  3. William Tasso

    Re: It's a bug (input type="text")

    William Tasso, Jul 7, 2003, in forum: HTML
    Replies:
    3
    Views:
    383
    Lauri Raittila
    Jul 8, 2003
  4. Randell D.
    Replies:
    12
    Views:
    240
    Randell D.
    Jul 6, 2005
  5. Vincent van Beveren

    Switich Input field from TYPE=TEXT to TYPE=PASSWORD

    Vincent van Beveren, Jul 13, 2006, in forum: Javascript
    Replies:
    5
    Views:
    164
    Randy Webb
    Jul 13, 2006
Loading...

Share This Page