E-mail List Archives
Thread: Re: Display:none in NS7 not working?
Number of posts in this thread: 2 (In chronological order)
From: Bill Mason
Date: Tue, Sep 03 2002 2:50PM
Subject: Re: Display:none in NS7 not working?
No previous message | Next message →
At 02:15 PM 09/03/2002, Jeff Rhodes wrote:
>This style works in Mozilla 1.1 but not in NS7. I have a
>class defined as such:
>
>.hidden {display: none;}
>
>and then on my page I have the following defined:
>
><label class="hidden">quantity yes, I will be going on the trip
>activity</label>
>
>With the class hidden defined, this is supposed to be hidden. In IE6
>and Mozilla 1.1 it is, but in NS7 it's not. I am running Win2K. Has
>anyone else seen this sort of thing?
There are a number of issues with LABEL that have been fixed on the main
Mozilla development branch (where 1.1 lives) that have not been migrated to
the 1.0 branch (which N7 is based on). This is probably one of them.
LABEL doesn't work on a lot of INPUT elements in N7; it doesn't pass focus
to the actual INPUT element. Weirdly enough, I just today wrote an e-mail
to the Mozilla drivers group requesting that a LABEL Moz 1.1 fix be applied
back to the 1.0 branch because of the accessibility issues. We'll see what
comes of that.
Bill Mason
Accessible Internet
= EMAIL ADDRESS REMOVED =
http://www.accessibleinter.net/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
From: Tom Gilder
Date: Tue, Sep 03 2002 5:37PM
Subject: Re: Display:none in NS7 not working?
← Previous message | No next message
On Tuesday, September 3, 2002, 10:40:30 PM, you wrote:
> There are a number of issues with LABEL that have been fixed on the main
> Mozilla development branch (where 1.1 lives) that have not been migrated to
> the 1.0 branch (which N7 is based on). This is probably one of them.
The other really, really nasty one to look out for is apply the CSS
float property to <label> (again, fixed on the trunk but not for
Moz1.0.1/NS7), which makes the label vanish into thin air (which was
one of my favorite tricks until Mozilla decided to arse things up
considerably).
The easiest way to fix these label problems is to just do something
along the lines of:
<span class="label"><label for="whatever">Text</label></span>
Cheers
--
Tom Gilder
http://tom.me.uk/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/