i hear display:none is bad for accessibility (screen readers, e.g.) but i
have no idea if visibility is any better. anyone know?

On 10/03/2008, Rafael <[EMAIL PROTECTED]> wrote:
>
> Jeff Gates wrote:
> > I know that one difference between display:none and visibility:hidden is
> > that the former does not leave space in the layout where the code exists
> > on the page, while the latter does. Are there other differences?
> >
> > Using visibility:hidden I have hidden a whole string of links I need on
> > the page to use Lightbox 2's slideshow feature. It works as it should.
> > But there is "white space" in the layout where the long list of links
> > appears in the code. If I use display:none instead, will Lightbox still
> > see this string of links? I'd like to eliminate the white space in the
> > layout.
> >
> > In other words, is the only difference between the display and
> visibility
> > properties that one leaves space in layout and the other doesn't?
> >
> > Thanks, Jeff
> >
>
>     I remember having read somewhere that the W3C /recommended/ browser
> vendors /not to download the content styled with display:none/.
> Unfortunately, I haven't found any reference to this, so I could be just
> plain wrong.
>
>     Now, assuming I did read it right and it was even in the W3C
> recommendation (which doesn't seem to be the case), real-world sites
> won't allow browser vendors to implement this behavior because many of
> us rely on display:none being invisible /and/ without any box in the
> layout, so just for the sake of practical use alone I don't think
> they'll ever do it ---but that again, that's assuming the first
> paragraph is right :)
>
>     Conclusion: yes, since those elements do exist in the DOM Lightbox
> can access them, now whether it moves them, clone them, remove them,
> etc. depends solely on the Lightbox implementation (i.e. I have no clue).
>
>     I hope this helps.
>
>     Rafael.
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>



-- 
Vincent Pollard
http://www.ithinkx.co.uk
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to